Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Namespace Lucene.Net.Codecs.PerField

    Postings format that can delegate to different formats per-field.

    Classes

    PerFieldDocValuesFormat

    Enables per field docvalues support.

    Note, when extending this class, the name (Name) is written into the index. In order for the field to be read, the name must resolve to your implementation via ForName(string). This method uses GetDocValuesFormat(string) to resolve format names. See DefaultDocValuesFormatFactory for information about how to implement your own DocValuesFormat.

    Files written by each docvalues format have an additional suffix containing the format name. For example, in a per-field configuration instead of _1.dat filenames would look like _1_Lucene40_0.dat.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    PerFieldPostingsFormat

    Enables per field postings support.

    Note, when extending this class, the name (Name) is written into the index. In order for the field to be read, the name must resolve to your implementation via ForName(string). This method uses GetPostingsFormat(string) to resolve format names. See DefaultPostingsFormatFactory for information about how to implement your own PostingsFormat.

    Files written by each posting format have an additional suffix containing the format name. For example, in a per-field configuration instead of _1.prx filenames would look like _1_Lucene40_0.prx.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Back to top Copyright © 2024 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.