Class ICUCollationDocValuesField
Indexes sort keys as a single-valued SortedDocValuesField.
Implements
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)
    
  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 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
Methods
| Improve this Doc View SourceSetStringValue(String)
Declaration
public override void SetStringValue(string value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | value |