Class ICUCollationDocValuesField
Indexes sort keys as a single-valued SortedDocValuesField.
Inheritance
System.Object
Lucene.Net.Documents.Field
ICUCollationDocValuesField
Implements
Lucene.Net.Index.IIndexableField
System.IFormattable
Inherited Members
Lucene.Net.Documents.Field.m_type
Lucene.Net.Documents.Field.m_name
Lucene.Net.Documents.Field.FieldsData
Lucene.Net.Documents.Field.m_tokenStream
Lucene.Net.Documents.Field.m_boost
Lucene.Net.Documents.Field.GetStringValue()
Lucene.Net.Documents.Field.GetReaderValue()
Lucene.Net.Documents.Field.GetTokenStreamValue()
Lucene.Net.Documents.Field.SetBytesValue(Lucene.Net.Util.BytesRef)
Lucene.Net.Documents.Field.SetTokenStream(Lucene.Net.Analysis.TokenStream)
Lucene.Net.Documents.Field.Boost
Lucene.Net.Documents.Field.GetNumericValue()
Lucene.Net.Documents.Field.NumericType
Lucene.Net.Documents.Field.GetByteValue()
Lucene.Net.Documents.Field.GetInt16Value()
Lucene.Net.Documents.Field.GetInt32Value()
Lucene.Net.Documents.Field.GetInt64Value()
Lucene.Net.Documents.Field.GetSingleValue()
Lucene.Net.Documents.Field.GetDoubleValue()
Lucene.Net.Documents.Field.GetBinaryValue()
Lucene.Net.Documents.Field.ToString()
Lucene.Net.Documents.Field.FieldType
Lucene.Net.Documents.Field.IndexableFieldType
Lucene.Net.Documents.Field.GetTokenStream(Lucene.Net.Analysis.Analyzer)
Lucene.Net.Documents.Field.TranslateFieldType(Lucene.Net.Documents.Field.Store, Lucene.Net.Documents.Field.Index, Lucene.Net.Documents.Field.TermVector)
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)
Namespace: Lucene.Net.Collation
Assembly: Lucene.Net.ICU.dll
Syntax
public sealed class ICUCollationDocValuesField : Field, IIndexableField, IFormattable
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 SourceICUCollationDocValuesField(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. |
ICU4N.Text.Collator | collator | Collator for generating collation keys. |
Properties
| Improve this Doc View SourceName
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Lucene.Net.Documents.Field.Name
Methods
| Improve this Doc View SourceSetStringValue(String)
Declaration
public override void SetStringValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Overrides
Implements
Lucene.Net.Index.IIndexableField
System.IFormattable