[COMPASS-7558] COMPASS: Update the search index template Created: 02/Jan/24  Updated: 22/Jan/24

Status: Needs Triage
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Major - P3
Reporter: Sara Akram Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: FY2025Q1-candidate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Developer Tools
Epic Link: CLOUDP-217393

 Description   

Compass Search Index Template should be updated to reflect that token field mapping types can now be used for searching (and not just sorting capabilities).

PD: Product Description: Token for unanalyzed text search

 

Template: Text field mappings

```

{

  "mappings": {

    "dynamic": true,

    "fields": {

      <string field name>: [

        

{           // Enables text queries           "type": "string"         }

,

        

{           // Enables autocomplete queries           "type": "autocomplete"                    }

,

        

{           ++ Enables equals, in and range queries and sorting           -- Enables sorting           "type": "token"         }

      ]  

    } 

  }

}

```


Generated at Wed Feb 07 22:46:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.