Namespace Lucene.Net.Analysis.Reverse
Filter to reverse token text.
Classes
ReverseStringFilter
Reverse token string, for example "country" => "yrtnuoc".
If Lucene.Net.Analysis.Reverse.ReverseStringFilter.marker is supplied, then tokens will be also prepended by that character. For example, with a marker of \u0001, "country" => "\u0001yrtnuoc". This is useful when implementing efficient leading wildcards search.
You must specify the required Lucene.Net.Util.LuceneVersion compatibility when creating ReverseStringFilter, or when using any of its static methods:
- As of 3.1, supplementary characters are handled correctly
ReverseStringFilterFactory
Factory for ReverseStringFilter.
<fieldType name="text_rvsstr" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.ReverseStringFilterFactory"/>
</analyzer>
</fieldType>
@since solr 1.4