public class FullText extends SearchAction
Query
class. Takes a Google-like search
string and returns fully formed objects via Hibernate Search.Modifier and Type | Field and Description |
---|---|
static String |
ALL_PROJECTIONS |
static String |
TOTAL_SIZE |
chainedList, values
Constructor and Description |
---|
FullText(SearchValues values,
String query,
Class<? extends org.apache.lucene.analysis.Analyzer> analyzer) |
Modifier and Type | Method and Description |
---|---|
Object |
doWork(org.hibernate.Session s,
ServiceFactory sf)
Work method.
|
Object[] |
getProjections(ome.model.IObject object) |
Float |
getScore(ome.model.IObject object) |
Integer |
getTotalSize(ome.model.IObject object) |
protected void |
initializeQuery(org.hibernate.search.FullTextQuery ftQuery)
Allows settings offset and limit on the query.
|
annotatedBetween, annotatedBetween, annotatedBy, annotatedBy, chainedSearch, copyOfValues, createdOrModified, createdOrModified, description, ids, ids, notNullOrLikeOrEqual, notNullOrLikeOrEqual, orderByAscending, orderByPath, ownerOrGroup, ownerOrGroup
public static final String ALL_PROJECTIONS
public static final String TOTAL_SIZE
public FullText(SearchValues values, String query, Class<? extends org.apache.lucene.analysis.Analyzer> analyzer)
protected void initializeQuery(org.hibernate.search.FullTextQuery ftQuery)
ftQuery
- @Transactional(readOnly=true) public Object doWork(org.hibernate.Session s, ServiceFactory sf)
Executor.Work
Object
return method.s
- non null.sf
- non null.public Float getScore(ome.model.IObject object)
public Integer getTotalSize(ome.model.IObject object)
public Object[] getProjections(ome.model.IObject object)
Version: 4.4.12-ice34-b116
Copyright © 2014 The University of Dundee & Open Microscopy Environment. All Rights Reserved.