Set Search Index Advanced Settings

  • Capella Operational
  • how-to
    +
    When using the Advanced Mode editor in Couchbase Capella UI, you can configure additional advanced settings for your Search index.

    Advanced Mode adds full customization and advanced features such as creating custom analyzers or setting a document filter. For more information about the different settings and features available in a Search index, see Search Index Features.

    You must create a Search index before you can run a search with the Search Service.

    Prerequisites

    • You have the Search Service enabled on a node in your operational cluster. For more information about how to change Services on your operational cluster, see Modify a Paid Cluster.

    • You have a bucket with scopes and collections in your operational cluster. For more information, see Manage Buckets.

    • You have created a basic Search index with the Capella UI. For more information, see Create a Search Index with the Capella UI.

    • You have logged in to the Couchbase Capella UI.

    Procedure

    To set advanced settings for a Search index with the Capella UI:

    1. On the Operational Clusters page, select the operational cluster where you created your Search index.

    2. Go to Data Tools  Search.

    3. Click the name of the index where you want to configure advanced settings.

    4. Click Enable Advanced Mode.

    5. Do any of the following:

      1. In the Default Analyzer list, select the default analyzer to assign to new type mappings in your index.

        You can also choose to Create a Custom Analyzer.

      2. In the Default Date/Time Parser list, select the default date/time parser to use for date data in your index.

        You can also choose to Create a Custom Date/Time Parser.

      3. Add a document filter to control how documents are included in your type mappings. For more information, see Set a Document Filter.

      4. Add a synonym source to support synonym searches. For more information, see synonyms-search.adoc.

      5. Choose the scoring model you want to use with your Search index. For more information about scoring models, see Scoring Model.

      6. If you’re using dynamic type mappings, choose how to handle dynamic fields in your Search index:

        1. To store the content of any fields added to a Search index from a dynamic type mapping, turn on Store Dynamic Fields.

        2. To include fields or whole documents in your Search index that match a dynamic type mapping, turn on Index Dynamic Fields.

    6. Click Update Index.

    Next Steps

    You can keep adding additional features to your Search index to improve performance and search results. For more information, see Search Index Features.

    For more information about how to run a search, see Run A Simple Search with the Capella UI.