Class FieldExtensions
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Inheritance
System.Object
FieldExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Lucene.Net.dll
Syntax
public static class FieldExtensions
Methods
|
Improve this Doc
View Source
IsAnalyzed(Field.Index)
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
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIndexed(Field.Index)
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
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsStored(Field.Store)
Declaration
public static bool IsStored(this Field.Store store)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsStored(Field.TermVector)
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
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OmitNorms(Field.Index)
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
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ToIndex(Boolean, Boolean)
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 |
System.Boolean |
indexed |
|
System.Boolean |
analyed |
|
Returns
|
Improve this Doc
View Source
ToIndex(Boolean, Boolean, Boolean)
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 |
System.Boolean |
indexed |
|
System.Boolean |
analyzed |
|
System.Boolean |
omitNorms |
|
Returns
|
Improve this Doc
View Source
ToTermVector(Boolean, Boolean, Boolean)
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 |
System.Boolean |
stored |
|
System.Boolean |
withOffsets |
|
System.Boolean |
withPositions |
|
Returns
|
Improve this Doc
View Source
WithOffsets(Field.TermVector)
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
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
WithPositions(Field.TermVector)
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
Type |
Description |
System.Boolean |
|