A newer version of this documentation is available.

View Latest

Set Search Index Advanced Settings

  • how-to
    +
    Configure advanced settings with the Couchbase Server Web Console for a Search index to improve an index’s search results and performance.

    Prerequisites

    • You’ve deployed the Search Service on a node in your database.

    • You have a bucket with scopes and collections in your database.

    • Your user account has the Search Admin role for the bucket where you want to edit an index.

    • You’ve created an index. For more information, see Create a Basic Search Index with the Web Console.

    • You’ve logged in to the Couchbase Server Web Console.

    Procedure

    To set advanced settings for a Search index with the Couchbase Server Web Console:

    1. Go to Search.

    2. Click the index that you want to edit.

    3. Click Edit.

    4. Expand Customize Index  Advanced.

    5. Configure any of the following advanced settings for your index:

      Option Description

      Default Type

      Change the default type assigned to documents in the index. The default value is _default.

      Default Analyzer

      Change the default analyzer assigned to type mappings in the index.

      For more information about the available default analyzers, see Default Analyzers.

      For more information about how to create your own custom analyzer, see Create a Custom Analyzer.

      Default Date/Time Parser

      Change the default date/time parser used for date data.

      Default Field

      When you create a child field in a type mapping, you can choose to include that field in an _all field.

      You can add fields to the _all field to search their contents without specifying their field name in your search query.

      Enter a value in the Default Field field to change the name of this default field.

      Store Dynamic Fields

      Select Store Dynamic Fields to include field values in search results from a dynamic type mapping in the index.

      Index Dynamic Fields

      Select Index Dynamic Fields to include fields from a dynamic type mapping in the index.

      DocValues for Dynamic Fields

      Select DocValues for Dynamic Fields to include the values of each field from a dynamic type mapping in the index.

      Index Replicas

      Set the number of replicas that the Search Service creates for the index.

      For more information about replication and the Search Service, see High Availability for Search.

      Index Type

      This setting is included for compatibility only. For new indexes, this setting is always Version 6.0 (Scorch).

      Index Partitions

      Enter a number greater than one to divide the index into partitions across multiple nodes running the Search Service.

    6. Click Update Index.