[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: |
|
||||
| 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" } ] } } } ``` |