Package | Description |
---|---|
org.hibernate.search.jpa |
Modifier and Type | Method and Description |
---|---|
FullTextQuery |
FullTextEntityManager.createFullTextQuery(org.apache.lucene.search.Query luceneQuery,
Class<?>... entities)
Create a fulltext query on top of a native Lucene query returning the matching objects
of type
entities and their respective subclasses. |
FullTextQuery |
FullTextQuery.initializeObjectsWith(org.hibernate.search.query.ObjectLookupMethod lookupMethod,
org.hibernate.search.query.DatabaseRetrievalMethod retrievalMethod)
Refine the strategies used to load entities.
|
FullTextQuery |
FullTextQuery.limitExecutionTimeTo(long timeout,
TimeUnit timeUnit)
*Experimental* API, subject to change or removal
Limit the time used by Hibernate Search to execute the query.
|
FullTextQuery |
FullTextQuery.setCriteriaQuery(Criteria criteria)
Defines the Database Query used to load the Lucene results.
|
FullTextQuery |
FullTextQuery.setFilter(org.apache.lucene.search.Filter filter)
Deprecated.
|
FullTextQuery |
FullTextQuery.setProjection(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).
|
FullTextQuery |
FullTextQuery.setResultTransformer(ResultTransformer transformer)
Defines a result transformer used during projection
|
FullTextQuery |
FullTextQuery.setSort(org.apache.lucene.search.Sort sort)
Allows to let lucene sort the results.
|
FullTextQuery |
FullTextQuery.setSpatialParameters(org.hibernate.search.spatial.Coordinates center,
String fieldName)
Defines the center of the spatial search for this query to project distance in results
|
FullTextQuery |
FullTextQuery.setSpatialParameters(double latitude,
double longitude,
String fieldName)
Defines the center of the spatial search for this query to project distance in results
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.