Constructor TermContext
TermContext(IndexReaderContext)
Creates an empty TermContext from a IndexReaderContext
Declaration
public TermContext(IndexReaderContext context)
Parameters
Type | Name | Description |
---|---|---|
IndexReaderContext | context |
TermContext(IndexReaderContext, TermState, Int32, Int32, Int64)
Creates a TermContext with an initial TermState, IndexReader pair.
Declaration
public TermContext(IndexReaderContext context, TermState state, int ord, int docFreq, long totalTermFreq)
Parameters
Type | Name | Description |
---|---|---|
IndexReaderContext | context | |
TermState | state | |
System.Int32 | ord | |
System.Int32 | docFreq | |
System.Int64 | totalTermFreq |