Class FieldExtensions
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Inheritance
FieldExtensions
Assembly: Lucene.Net.dll
Syntax
public static class FieldExtensions
Methods
IsAnalyzed(Index)
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Declaration
[Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
public static bool IsAnalyzed(this Field.Index index)
Parameters
Returns
IsIndexed(Index)
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Declaration
[Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
public static bool IsIndexed(this Field.Index index)
Parameters
Returns
IsStored(Store)
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Declaration
public static bool IsStored(this Field.Store store)
Parameters
Returns
IsStored(TermVector)
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Declaration
[Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
public static bool IsStored(this Field.TermVector tv)
Parameters
Returns
OmitNorms(Index)
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Declaration
[Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
public static bool OmitNorms(this Field.Index index)
Parameters
Returns
ToIndex(bool, bool)
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Declaration
[Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
public static Field.Index ToIndex(bool indexed, bool analyed)
Parameters
Type |
Name |
Description |
bool |
indexed |
|
bool |
analyed |
|
Returns
ToIndex(bool, bool, bool)
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Declaration
[Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
public static Field.Index ToIndex(bool indexed, bool analyzed, bool omitNorms)
Parameters
Type |
Name |
Description |
bool |
indexed |
|
bool |
analyzed |
|
bool |
omitNorms |
|
Returns
ToTermVector(bool, bool, bool)
Get the best representation of a TermVector given the flags.
Declaration
[Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
public static Field.TermVector ToTermVector(bool stored, bool withOffsets, bool withPositions)
Parameters
Type |
Name |
Description |
bool |
stored |
|
bool |
withOffsets |
|
bool |
withPositions |
|
Returns
WithOffsets(TermVector)
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Declaration
[Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
public static bool WithOffsets(this Field.TermVector tv)
Parameters
Returns
WithPositions(TermVector)
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Declaration
[Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
public static bool WithPositions(this Field.TermVector tv)
Parameters
Returns