Class Int64Type
Represents a Int64 IndexFieldRangeValueType<T>
public class Int64Type : IndexFieldRangeValueType<long>, IIndexFieldValueType, IIndexRangeValueType<long>, IIndexRangeValueType, IIndexFacetValueType
- Inheritance
-
Int64Type
- Implements
- Inherited Members
Constructors
Int64Type(string, ILoggerFactory, bool)
[Obsolete("To be removed in Examine V5")]
public Int64Type(string fieldName, ILoggerFactory logger, bool store = true)
Parameters
fieldNamestringloggerILoggerFactorystorebool
Int64Type(string, bool, bool, ILoggerFactory, bool)
public Int64Type(string fieldName, bool isFacetable, bool taxonomyIndex, ILoggerFactory logger, bool store)
Parameters
fieldNamestringisFacetablebooltaxonomyIndexboolloggerILoggerFactorystorebool
Properties
IsTaxonomyFaceted
Whether the Field is indexed in the Taxonomy Index
public bool IsTaxonomyFaceted { get; }
Property Value
SortableFieldName
Can be sorted by the normal field name
public override string SortableFieldName { get; }
Property Value
Methods
AddSingleValue(Document, object)
Adds a single value to the document
protected override void AddSingleValue(Document doc, object value)
Parameters
docDocumentvalueobject
AddValue(Document, object?)
Adds a value to the document
public override void AddValue(Document doc, object? value)
Parameters
docDocumentvalueobject
ExtractFacets(IFacetExtractionContext, IFacetField)
Extracts the facets from the field
public virtual IEnumerable<KeyValuePair<string, IFacetResult>> ExtractFacets(IFacetExtractionContext facetExtractionContext, IFacetField field)
Parameters
facetExtractionContextIFacetExtractionContextfieldIFacetField
Returns
- IEnumerable<KeyValuePair<string, IFacetResult>>
A dictionary of facets for this field
GetQuery(long?, long?, bool, bool)
Gets a query as Lucene.Net.Search.Query
public override Query GetQuery(long? lower, long? upper, bool lowerInclusive = true, bool upperInclusive = true)
Parameters
Returns
- Query
GetQuery(string)
By default returns a Lucene.Net.Search.TermQuery
public override Query? GetQuery(string query)
Parameters
querystring
Returns
- Query