string
The string
type's main difference to the text type is how it's indexed. It is recommended to use string types for identification strings which may contain special characters which would be dropped by the analyzer.
API
String looks like this when send and received over the API:
The above example has the value $5667 for column ref
.
Index
String values are normalised and lowercased for the index document.
All strings for indexed documents is split into chunks of 8000 UTF-8 characters. When matching full texts in analysed form, text cannot easily be matched if they exceed 8000 characters.
Sorting
Export
The XML looks like for text
.
In this example the column ref
is exported using value hall/7$.
The CSV and JSON export the string as is.
Last updated