Package | Description |
---|---|
org.hibernate.search.engine.impl | |
org.hibernate.search.query.engine.impl | |
org.hibernate.search.query.engine.spi | |
org.hibernate.search.spi |
Modifier and Type | Method and Description |
---|---|
HSQuery |
MutableSearchFactory.createHSQuery() |
HSQuery |
ImmutableSearchFactory.createHSQuery() |
Modifier and Type | Class and Description |
---|---|
class |
HSQueryImpl |
Modifier and Type | Method and Description |
---|---|
HSQuery |
HSQueryImpl.filter(Filter filter) |
HSQuery |
HSQueryImpl.firstResult(int firstResult) |
HSQuery |
HSQueryImpl.luceneQuery(Query query) |
HSQuery |
HSQueryImpl.maxResults(int maxResults) |
HSQuery |
HSQueryImpl.projection(String... fields) |
HSQuery |
HSQueryImpl.setSpatialParameters(Coordinates center,
String fieldName) |
HSQuery |
HSQueryImpl.sort(Sort sort) |
HSQuery |
HSQueryImpl.targetedEntities(List<Class<?>> classes) |
HSQuery |
HSQueryImpl.tenantIdentifier(String tenantId) |
HSQuery |
HSQueryImpl.timeoutExceptionFactory(TimeoutExceptionFactory exceptionFactory) |
Modifier and Type | Method and Description |
---|---|
HSQuery |
HSQuery.filter(Filter filter)
Allows to use lucene filters.
|
HSQuery |
HSQuery.firstResult(int firstResult)
Set the first element to retrieve.
|
HSQuery |
HSQuery.luceneQuery(Query query)
Defines the underlying Lucene query
|
HSQuery |
HSQuery.maxResults(int maxResults)
Set the maximum number of elements to retrieve.
|
HSQuery |
HSQuery.projection(String... fields)
Defines the Lucene field names projected and returned in a query result
Each field is converted back to it's object representation, an Object[] being returned for each "row"
(similar to an HQL or a Criteria API projection).
|
HSQuery |
HSQuery.setSpatialParameters(Coordinates center,
String fieldName)
setSpatialParameters.
|
HSQuery |
HSQuery.sort(Sort sort)
Lets Lucene sort the results.
|
HSQuery |
HSQuery.targetedEntities(List<Class<?>> classes)
Defines the targeted entities.
|
HSQuery |
HSQuery.tenantIdentifier(String tenantId) |
HSQuery |
HSQuery.timeoutExceptionFactory(TimeoutExceptionFactory exceptionFactory)
Define the timeout exception factory to customize the exception returned by the user.
|
Modifier and Type | Method and Description |
---|---|
HSQuery |
SearchIntegrator.createHSQuery()
Return an Hibernate Search query object.
|
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved