Class FieldExtensions
LUCENENET specific extension methods to add functionality to enumerations
that mimic Lucene
Inheritance
System.Object
FieldExtensions
Assembly: Lucene.Net.dll
Syntax
public static class FieldExtensions : object
Methods
|
Improve this Doc
View Source
IsAnalyzed(Field.Index)
Declaration
public static bool IsAnalyzed(this Field.Index index)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIndexed(Field.Index)
Declaration
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
public static bool IsStored(this Field.TermVector tv)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OmitNorms(Field.Index)
Declaration
public static bool OmitNorms(this Field.Index index)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ToIndex(Boolean, Boolean)
Declaration
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
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
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
public static bool WithOffsets(this Field.TermVector tv)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
WithPositions(Field.TermVector)
Declaration
public static bool WithPositions(this Field.TermVector tv)
Parameters
Returns
Type |
Description |
System.Boolean |
|