Class FSTIndexHandler

  • All Implemented Interfaces:
    IndexHandler

    public class FSTIndexHandler
    extends Object
    implements IndexHandler
    Helper class for fst indexes used by SegmentPreProcessor. to create FST index for column during segment load time. Currently FST index is always created (if enabled on a column) during segment generation (1) A new segment with FST index is created/refreshed. Server loads the segment. The handler detects the existence of FST index and returns. (2) A reload is issued on an existing segment with existing FST index. The handler detects the existence of FST index and returns. (3) A reload is issued on an existing segment after FST index is enabled on an existing column. Reads the dictionary to create FST index. (4) A reload is issued on an existing segment after FST index is enabled on a newly added column. In this case, the default column handler would have taken care of adding dictionary for the new column. Read the dictionary to create FST index.