Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class DocumentExtensions

    LUCENENET specific extensions to the Lucene.Net.Documents.Document class.

    Inheritance
    System.Object
    DocumentExtensions
    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)
    System.Object.ToString()
    Namespace: Lucene.Net.Documents
    Assembly: Lucene.Net.ICU.dll
    Syntax
    public static class DocumentExtensions

    Methods

    | Improve this Doc View Source

    AddICUCollationDocValuesField(Document, String, Collator)

    Adds 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 static ICUCollationDocValuesField AddICUCollationDocValuesField(this Document document, string name, Collator collator)
    Parameters
    Type Name Description
    Lucene.Net.Documents.Document document

    This Lucene.Net.Documents.Document.

    System.String name

    Field name.

    ICU4N.Text.Collator collator

    Collator for generating collation keys.

    Returns
    Type Description
    ICUCollationDocValuesField

    The field that was added to this Lucene.Net.Documents.Document.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.