Uses of Class
org.apache.lucene.util.fst.FSTCompiler.Builder
Packages that use FSTCompiler.Builder
-
Uses of FSTCompiler.Builder in org.apache.lucene.util.fst
Methods in org.apache.lucene.util.fst that return FSTCompiler.BuilderModifier and TypeMethodDescriptionFSTCompiler.Builder.allowFixedLengthArcs
(boolean allowFixedLengthArcs) Passfalse
to disable the fixed length arc optimization (binary search or direct addressing) while building the FST; this will make the resulting FST smaller but slower to traverse.FSTCompiler.Builder.bytesPageBits
(int bytesPageBits) How many bits wide to make each byte[] block in the BytesStore; if you know the FST will be large then make this larger.FSTCompiler.Builder.directAddressingMaxOversizingFactor
(float factor) Overrides the default the maximum oversizing of fixed array allowed to enable direct addressing of arcs instead of binary search.FSTCompiler.Builder.minSuffixCount1
(int minSuffixCount1) If pruning the input graph during construction, this threshold is used for telling if a node is kept or pruned.FSTCompiler.Builder.minSuffixCount2
(int minSuffixCount2) Better pruning: we prune node (and all following nodes) if the prior node has less than this number of terms go through it.FSTCompiler.Builder.shareMaxTailLength
(int shareMaxTailLength) Only used ifshouldShareSuffix
is true.FSTCompiler.Builder.shouldShareNonSingletonNodes
(boolean shouldShareNonSingletonNodes) Only used ifshouldShareSuffix
is true.FSTCompiler.Builder.shouldShareSuffix
(boolean shouldShareSuffix) Iftrue
, the shared suffixes will be compacted into unique paths.