Table of Contents

Internal classStaticInternal FSTAutomaton

Namespace
Rowles.LeanLucene.Codecs.Fst
Assembly
Rowles.LeanLucene.dll

Provides automaton intersection with the term dictionary. Walks sorted terms while simultaneously advancing the automaton, pruning branches where CanMatch(int) returns false.

internal static class FSTAutomaton
FSTAutomaton

Methods

Public methodStatic Intersect(TermDictionaryReader, string, IAutomaton)

Intersects the term dictionary with the automaton, returning all matching terms. The automaton operates on the bare term bytes (after the fieldPrefix).