Show / Hide Table of Contents

    Class ICUCollationDocValuesField

    Indexes sort keys as a single-valued SortedDocValuesField.

    Inheritance
    System.Object
    Field
    ICUCollationDocValuesField
    Implements
    IIndexableField
    Inherited Members
    Field.m_type
    Field.m_name
    Field.FieldsData
    Field.m_tokenStream
    Field.m_boost
    Field.GetStringValue()
    Field.GetStringValue(IFormatProvider)
    Field.GetStringValue(String)
    Field.GetStringValue(String, IFormatProvider)
    Field.GetReaderValue()
    Field.GetTokenStreamValue()
    Field.SetReaderValue(TextReader)
    Field.SetBytesValue(BytesRef)
    Field.SetBytesValue(Byte[])
    Field.SetByteValue(Byte)
    Field.SetInt16Value(Int16)
    Field.SetInt32Value(Int32)
    Field.SetInt64Value(Int64)
    Field.SetSingleValue(Single)
    Field.SetDoubleValue(Double)
    Field.SetTokenStream(TokenStream)
    Field.Boost
    Field.GetNumericValue()
    Field.NumericType
    Field.GetByteValue()
    Field.GetInt16Value()
    Field.GetInt32Value()
    Field.GetInt64Value()
    Field.GetSingleValue()
    Field.GetDoubleValue()
    Field.GetBinaryValue()
    Field.ToString()
    Field.FieldType
    Field.IndexableFieldType
    Field.GetTokenStream(Analyzer)
    Field.TranslateFieldType(Field.Store, Field.Index, Field.TermVector)
    Namespace: Lucene.Net.Collation
    Assembly: Lucene.Net.ICU.dll
    Syntax
    public sealed class ICUCollationDocValuesField : Field, IIndexableField
    Remarks

    This is more efficient that ICUCollationKeyAnalyzer if the field only has one value: no uninversion is necessary to sort on the field, locale-sensitive range queries can still work via FieldCacheRangeFilter, and the underlying data structures built at index-time are likely more efficient and use less memory than FieldCache.

    Constructors

    | Improve this Doc View Source

    ICUCollationDocValuesField(String, Collator)

    Create a new ICUCollationDocValuesField.

    NOTE: you should not create a new one for each document, instead just make one and reuse it during your indexing process, setting the value via SetStringValue(String).

    Declaration
    public ICUCollationDocValuesField(string name, Collator collator)
    Parameters
    Type Name Description
    System.String name

    Field name.

    Collator collator

    Collator for generating collation keys.

    Properties

    | Improve this Doc View Source

    Name

    Declaration
    public override string Name { get; }
    Property Value
    Type Description
    System.String
    Overrides
    Field.Name

    Methods

    | Improve this Doc View Source

    SetStringValue(String)

    Declaration
    public override void SetStringValue(string value)
    Parameters
    Type Name Description
    System.String value

    Implements

    IIndexableField
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)