Class CompiledAutomaton
Immutable class holding compiled details for a given Automaton. The Automaton is deterministic, must not have dead states but is not necessarily minimal.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public class CompiledAutomaton : object
Constructors
Name | Description |
---|---|
CompiledAutomaton(Automaton) | |
CompiledAutomaton(Automaton, Nullable<Boolean>, Boolean) |
Properties
Name | Description |
---|---|
CommonSuffixRef | Shared common suffix accepted by the automaton. Only valid for NORMAL, and only when the automaton accepts an infinite language. |
Finite | Indicates if the automaton accepts a finite set of strings. Null if this was not computed. Only valid for NORMAL. |
RunAutomaton | Matcher for quickly determining if a byte[] is accepted. only valid for NORMAL. |
SortedTransitions | Two dimensional array of transitions, indexed by state number for traversal. The state numbering is consistent with RunAutomaton. Only valid for NORMAL. |
Term | For PREFIX, this is the prefix term; for SINGLE this is the singleton term. |
Type |
Methods
Name | Description |
---|---|
Equals(Object) | |
Floor(BytesRef, BytesRef) | Finds largest term accepted by this Automaton, that's
<= the provided input term. The result is placed in
output; it's fine for output and input to point to
the same BytesRef. The returned result is either the
provided output, or |
GetHashCode() | |
GetTermsEnum(Terms) | |
ToDot() |