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

org.hibernate.search.query.dsl.TermMatchingContext Maven / Gradle / Ivy

Go to download

Helper to migrate from Hibernate Search 5 to 6, providing partial support for Hibernate Search 5 Engine APIs on top of Hibernate Search 6

The newest version!
/*
 * SPDX-License-Identifier: Apache-2.0
 * Copyright Red Hat Inc. and Hibernate Authors
 */

package org.hibernate.search.query.dsl;

/**
 * @author Emmanuel Bernard
 * @deprecated See the deprecation note on {@link QueryBuilder}.
*/
@Deprecated
public interface TermMatchingContext extends FieldCustomization {
	/**
	 * Value searched in the field or fields.
	 * The value is passed to the field's:
	 *  - field bridge
	 *  - analyzer (unless ignoreAnalyzer is called).
	 *
	 * @param value the value to match
	 * @return {@code this} for method chaining
	 */
	TermTermination matching(Object value);

	/**
	 * field / property the term query is executed on
	 *
	 * @param field another field involved in the query
	 * @return {@code this} for method chaining
	 */
	TermMatchingContext andField(String field);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy