Method InitReader
InitReader(String, TextReader)
Override this if you want to add a CharFilter chain.
The default implementation returns reader
unchanged.
Declaration
protected virtual TextReader InitReader(string fieldName, TextReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | IIndexableField name being indexed |
TextReader | reader | original |
Returns
Type | Description |
---|---|
TextReader | reader, optionally decorated with CharFilter(s) |