Constructor MemoryIndex
MemoryIndex()
Constructs an empty instance.
Declaration
public MemoryIndex()
MemoryIndex(Boolean)
Constructs an empty instance that can optionally store the start and end character offset of each token term in the text. This can be useful for highlighting of hit locations with the Lucene highlighter package. Protected until the highlighter package matures, so that this can actually be meaningfully integrated.
Declaration
public MemoryIndex(bool storeOffsets)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | storeOffsets | whether or not to store the start and end character offset of each token term in the text |