Create a Child Field in Advanced Mode

  • Capella Operational
  • how-to
    +
    Create a child field with the Couchbase Capella UI’s Advanced Mode to add or remove a specific field’s content from a Search index.

    Prerequisites

    Procedure

    To add or remove a child field from a Search index with the Capella UI:

    1. On the Operational Clusters page, select the cluster that has the Search index you want to edit.

    2. Go to Data Tools  Search.

    3. Click the index where you want to create a child field.

    4. Under Type Mappings, next to an existing type mapping, go to More Options (⋮)  Insert Child Field.

    5. In the Field field, enter the name of a field in your documents that you want to add or remove from the index.

      The field must contain either a single value or an array. If the field contains a JSON object, Create a Child Mapping, instead.
    6. In the Type list, select the data type for the field:

      For more information about the available data types, see Field Data Types.

    7. Configure optional settings for the child field.

      For more information about the available settings for child fields, see Child Field Options.

    8. Click Submit.

    9. Click Update Index.

    Next Steps

    You can continue to create child fields to add or remove the contents of a document from your Search index.

    If a field in your documents contains a JSON object, Create a Child Mapping in Advanced Mode, instead.

    To continue customizing your Search index, you can also:

    To run a search and test the contents of your Search index, see Run A Simple Search with the Capella UI.