ome.services.search
Class FullText
java.lang.Object
ome.services.search.SearchAction
ome.services.search.FullText
- All Implemented Interfaces:
- Serializable, Executor.Work
- Direct Known Subclasses:
- SomeMustNone
public class FullText
- extends SearchAction
Search based on Lucene's Query
class. Takes a Google-like search
string and returns fully formed objects via Hibernate Search.
- Since:
- 3.0-Beta3
- Author:
- Josh Moore, josh at glencoesoftware.com
- See Also:
- Serialized Form
Methods inherited from class ome.services.search.SearchAction |
annotatedBetween, annotatedBetween, annotatedBy, annotatedBy, chainedSearch, copyOfValues, createdOrModified, createdOrModified, description, ids, ids, notNullOrLikeOrEqual, notNullOrLikeOrEqual, orderByAscending, orderByPath, ownerOrGroup, ownerOrGroup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullText
public FullText(SearchValues values,
String query,
Class<? extends Analyzer> analyzer)
doWork
@Transactional(readOnly=true)
public Object doWork(org.hibernate.Session s,
ServiceFactory sf)
- Description copied from interface:
Executor.Work
- Work method. Must return all results coming from Hibernate via the
Object
return method.
- Parameters:
s
- non null.sf
- non null.
- Returns:
- Any results which will be used by non-wrapped code.
OmeroJava Api
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.