Expert:
If set, omit term freq, positions and payloads from
postings for this field.
NOTE: While this option reduces storage space
required in the index, it also means any query
requiring positional information, such as {@link
PhraseQuery} or {@link SpanQuery} subclasses will
silently fail to find results.
Namespace: Lucene.Net.DocumentsAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void SetOmitTermFreqAndPositions( bool omitTermFreqAndPositions ) |
Visual Basic |
---|
Public Overridable Sub SetOmitTermFreqAndPositions ( _ omitTermFreqAndPositions As Boolean _ ) |
Visual C++ |
---|
public: virtual void SetOmitTermFreqAndPositions( bool omitTermFreqAndPositions ) |
Parameters
- omitTermFreqAndPositions
- Type: System..::..Boolean
[Missing <param name="omitTermFreqAndPositions"/> documentation for "M:Lucene.Net.Documents.AbstractField.SetOmitTermFreqAndPositions(System.Boolean)"]