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

org.hibernate.search.query.engine.spi.V5MigrationSearchSession 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.engine.spi;

import java.util.function.Consumer;

import org.hibernate.search.engine.search.query.dsl.SearchQueryOptionsStep;
import org.hibernate.search.engine.search.query.dsl.SearchQuerySelectStep;
import org.hibernate.search.scope.spi.V5MigrationSearchScope;

/**
 * @param  The type of the initial step of the loading options definition DSL accessible through {@link SearchQueryOptionsStep#loading(Consumer)}.
 * @deprecated This class will be removed without replacement. Use actual API instead.
 */
@Deprecated
public interface V5MigrationSearchSession {

	SearchQuerySelectStep search(V5MigrationSearchScope scope);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy