Interface LuceneFieldContributor<F>

Type Parameters:
F - The type of the value.

public interface LuceneFieldContributor<F>
A contributor adding native Lucene fields to the index schema.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    contribute(String absoluteFieldPath, F value, Consumer<IndexableField> collector)
    Contribute Lucene fields to the collector.
  • Method Details

    • contribute

      void contribute(String absoluteFieldPath, F value, Consumer<IndexableField> collector)
      Contribute Lucene fields to the collector.
      Parameters:
      absoluteFieldPath - The absolute path of the field.
      value - The value.
      collector - The collector to which the fields are contributing.