org.hibernate.search.bridge

## Interface MetadataProvidingTikaMetadataProcessor

- All Superinterfaces:
    TikaMetadataProcessor

      public interface MetadataProvidingTikaMetadataProcessor
      extends TikaMetadataProcessor

  Optional contract to be implemented by `TikaMetadataProcessor` implementations wishing to expose meta-data related to the fields they create.

  Author:
    Gunnar Morling, Yoann Rodiere
  See Also:
    `TikaMetadataProcessor`, `MetadataProvidingFieldBridge`
  Experimental
    This contract is currently under active development and may be altered in future releases, breaking existing implementations.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `configureFieldMetadata(String name, FieldMetadataBuilder builder)` Allows this processor to expose meta-data about the fields it creates.

    - ### Methods inherited from interface org.hibernate.search.bridge.TikaMetadataProcessor

      `prepareMetadata, set`

- - ### Method Detail

    - #### configureFieldMetadata

          void configureFieldMetadata(String name,
                                      FieldMetadataBuilder builder)

      Allows this processor to expose meta-data about the fields it creates.
      Parameters:
        `name` - The default field name; Should be used consistently with `FieldBridge.set(String, Object, org.apache.lucene.document.Document, LuceneOptions)`.
        `builder` - Builder for exposing field-related metadata

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved