Last updated
Was this helpful?
Last updated
Was this helpful?
The FST index supports regex queries on text. Decreases on-disk index by 4-6 times.
Only supports regex queries
Only supported on stored or completed Pinot segments (no consuming segments).
Only supported on dictionary-encoded columns.
Works better for prefix queries
Note: Lucene is case sensitive as such when using FST index based column(s) in query, user needs to ensure this is taken into account. For e.g Select * from table T where colA LIKE %Value%
which has a FST index on colA will only return rows containing string "Value" but not "value".
For more information on the FST construction and code, see .
To enable the FST index on a dictionary-encoded column, include the following configuration:
The FST index generates one FST index file (.lucene.fst)
. If the inverted index is enabled, this is further able to take advantage of that.
For more information about enabling the FST index, see ways to .