> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trychannel3.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Search Behavior

Pass a `config` object to control ranking and search mode. `keyword_search_only: true` skips semantic / agentic ranking and uses classic keyword matching — see [Agentic search](/guides/agentic-search).

<CodeGroup>
  ```typescript TypeScript theme={null}
  import Channel3 from "@channel3/sdk";

  const client = new Channel3();

  async function main() {
    const response = await client.products.search({
      query: "linen shirt",
      config: {
        keyword_search_only: true,
      },
    });
    console.log(response.products[0]?.title);
  }

  main();
  ```

  ```python Python theme={null}
  from channel3_sdk import Channel3

  client = Channel3()

  def main():
      response = client.products.search(
          query="linen shirt",
          config={"keyword_search_only": True},
      )
      print(response.products[0].title)

  if __name__ == "__main__":
      main()
  ```
</CodeGroup>

Locale overrides (`country`, `currency`, `language`) also go on `config` (or on the client default). See [Localization](/guides/localization) and [Locale](/concepts/locale).
