All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.search.bridge.MetadataProvidingTikaMetadataProcessor Maven / Gradle / Ivy

There is a newer version: 5.11.12.Final
Show newest version
/*
 * Hibernate Search, full-text search for your domain model
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.search.bridge;

import org.hibernate.search.bridge.spi.FieldMetadataBuilder;

/**
 * Optional contract to be implemented by {@link TikaMetadataProcessor} implementations wishing to expose
 * meta-data related to the fields they create.
 * 

* * @see TikaMetadataProcessor * @see MetadataProvidingFieldBridge * @author Gunnar Morling * @author Yoann Rodiere * @hsearch.experimental This contract is currently under active development and may be altered in future releases, * breaking existing implementations. */ public interface MetadataProvidingTikaMetadataProcessor extends TikaMetadataProcessor { /** * Allows this processor to expose meta-data about the fields it creates. * * @param name The default field name; Should be used consistently with * {@link FieldBridge#set(String, Object, org.apache.lucene.document.Document, LuceneOptions)}. * @param builder Builder for exposing field-related metadata */ void configureFieldMetadata(String name, FieldMetadataBuilder builder); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy