-
Type: Story
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Developer Tools
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" }
]
}
}
}
```