org.hibernate.search.query.dsl.MustJunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-engine Show documentation
Show all versions of hibernate-search-engine Show documentation
Core of the Object/Lucene mapper, query engine and index management
/*
* 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.query.dsl;
/**
* Represents the context in which a must clause is described.
*
* @author Emmanuel Bernard
* @author Sanne Grinovero
*/
public interface MustJunction extends BooleanJunction {
/**
* Negate the must clause.
* Results of the boolean query do NOT match the subquery.
* A negated must clause always disables scoring on the subquery.
*
* @return the same {@link BooleanJunction} for method chaining.
*/
BooleanJunction not();
/**
* Disables scoring on the subquery.
* If you are only interested to use this clause as a filtering criteria
* and don't need it to affect result scoring, this might improve performance.
* @return the same {@link BooleanJunction} for method chaining.
*/
BooleanJunction disableScoring();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy