> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/cuvs/llms.txt.
> For full documentation content, see https://docs.nvidia.com/cuvs/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/cuvs/_mcp/server.

# Common

_Source header: `cuvs/neighbors/common.h`_

## Filters APIs

<a id="cuvsfiltertype"></a>
### cuvsFilterType

Enum to denote filter type.

```c
enum cuvsFilterType { ... };
```

**Values**

| Name | Value |
| --- | --- |
| `NO_FILTER` | `0` |
| `BITSET` | `1` |
| `BITMAP` | `2` |

<a id="cuvsfilter"></a>
### cuvsFilter

Struct to hold address of cuvs::neighbors::prefilter and its type

```c
typedef struct { ... } cuvsFilter;
```

**Fields**

| Name | Type | Description |
| --- | --- | --- |
| `addr` | `uintptr_t` |  |

## Index Merge

<a id="cuvsmergestrategy"></a>
### cuvsMergeStrategy

Strategy for merging indices.

```c
typedef enum { ... } cuvsMergeStrategy;
```

**Values**

| Name | Value |
| --- | --- |
| `MERGE_STRATEGY_PHYSICAL` | `0` |
| `MERGE_STRATEGY_LOGICAL` | `1` |