> 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.

# Ivf Flat Search Params Module

_Rust module: `cuvs::ivf_flat::search_params`_

_Source: `rust/cuvs/src/ivf_flat/search_params.rs`_

## SearchParams

```rust
pub struct SearchParams(pub ffi::cuvsIvfFlatSearchParams_t);
```

Supplemental parameters to search IvfFlat index

**Methods**

| Name | Source |
| --- | --- |
| `new` | `rust/cuvs/src/ivf_flat/search_params.rs:15` |
| `set_n_probes` | `rust/cuvs/src/ivf_flat/search_params.rs:24` |

### new

```rust
pub fn new() -> Result<SearchParams> { ... }
```

Returns a new SearchParams object

_Source: `rust/cuvs/src/ivf_flat/search_params.rs:15`_

### set_n_probes

```rust
pub fn set_n_probes(self, n_probes: u32) -> SearchParams { ... }
```

Supplemental parameters to search IVF-Flat index

_Source: `rust/cuvs/src/ivf_flat/search_params.rs:24`_

_Source: `rust/cuvs/src/ivf_flat/search_params.rs:11`_