Class CharSequenceOutputs
An FST Outputs<T> implementation where each output
is a sequence of characters.
Note
This API is experimental and might change in incompatible ways in the next release.
Inheritance
CharSequenceOutputs
Assembly: Lucene.Net.dll
Syntax
public sealed class CharSequenceOutputs : Outputs<CharsRef>
Properties
NoOutput
NOTE: this output is compared with == so you must
ensure that all methods return the single object if
it's really no output
Declaration
public override CharsRef NoOutput { get; }
Property Value
Overrides
Singleton
An FST Outputs<T> implementation where each output
is a sequence of characters.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public static CharSequenceOutputs Singleton { get; }
Property Value
Methods
Add(CharsRef, CharsRef)
Eg add("foo", "bar") -> "foobar"
Declaration
public override CharsRef Add(CharsRef prefix, CharsRef output)
Parameters
Returns
Overrides
Common(CharsRef, CharsRef)
Eg common("foobar", "food") -> "foo"
Declaration
public override CharsRef Common(CharsRef output1, CharsRef output2)
Parameters
Returns
Overrides
OutputToString(CharsRef)
An FST Outputs<T> implementation where each output
is a sequence of characters.
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override string OutputToString(CharsRef output)
Parameters
Returns
Overrides
Declaration
public override CharsRef Read(DataInput @in)
Parameters
Returns
Overrides
Subtract(CharsRef, CharsRef)
Eg subtract("foobar", "foo") -> "bar"
Declaration
public override CharsRef Subtract(CharsRef output, CharsRef inc)
Parameters
Returns
Overrides
Write(CharsRef, DataOutput)
Declaration
public override void Write(CharsRef prefix, DataOutput @out)
Parameters
Overrides