| Package | Description |
|---|---|
| org.hibernate.search.jpa |
| Modifier and Type | Method and Description |
|---|---|
FullTextQuery |
FullTextEntityManager.createFullTextQuery(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(ObjectLookupMethod lookupMethod,
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(Filter filter)
Allows to use lucene filters.
|
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(Sort sort)
Allows to let lucene sort the results.
|
FullTextQuery |
FullTextQuery.setSpatialParameters(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 © 2006-2015 Red Hat, Inc. All Rights Reserved