Class DelimitedPayloadTokenFilterFactory
Factory for DelimitedPayloadTokenFilter.
<fieldType name="text_dlmtd" class="solr.TextField" positionIncrementGap="100">
  <analyzer>
    <tokenizer class="solr.WhitespaceTokenizerFactory"/>
    <filter class="solr.DelimitedPayloadTokenFilterFactory" encoder="float" delimiter="|"/>
  </analyzer>
</fieldType>
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Payloads
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class DelimitedPayloadTokenFilterFactory : TokenFilterFactory, IResourceLoaderAware
  Constructors
DelimitedPayloadTokenFilterFactory(IDictionary<string, string>)
Creates a new DelimitedPayloadTokenFilterFactory
Declaration
public DelimitedPayloadTokenFilterFactory(IDictionary<string, string> args)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IDictionary<string, string> | args | 
Fields
DELIMITER_ATTR
Factory for DelimitedPayloadTokenFilter.
<fieldType name="text_dlmtd" class="solr.TextField" positionIncrementGap="100">
  <analyzer>
    <tokenizer class="solr.WhitespaceTokenizerFactory"/>
    <filter class="solr.DelimitedPayloadTokenFilterFactory" encoder="float" delimiter="|"/>
  </analyzer>
</fieldType>
Declaration
public const string DELIMITER_ATTR = "delimiter"
  Field Value
| Type | Description | 
|---|---|
| string | 
ENCODER_ATTR
Factory for DelimitedPayloadTokenFilter.
<fieldType name="text_dlmtd" class="solr.TextField" positionIncrementGap="100">
  <analyzer>
    <tokenizer class="solr.WhitespaceTokenizerFactory"/>
    <filter class="solr.DelimitedPayloadTokenFilterFactory" encoder="float" delimiter="|"/>
  </analyzer>
</fieldType>
Declaration
public const string ENCODER_ATTR = "encoder"
  Field Value
| Type | Description | 
|---|---|
| string | 
Methods
Create(TokenStream)
Transform the specified input Lucene.Net.Analysis.TokenStream
Declaration
public override TokenStream Create(TokenStream input)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TokenStream | input | 
Returns
| Type | Description | 
|---|---|
| TokenStream | 
Overrides
Inform(IResourceLoader)
Initializes this component with the provided IResourceLoader (used for loading types, embedded resources, files, etc).
Declaration
public virtual void Inform(IResourceLoader loader)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IResourceLoader | loader |