Package ome.services.search
Class SomeMustNone
- java.lang.Object
-
- ome.services.search.SearchAction
-
- ome.services.search.FullText
-
- ome.services.search.SomeMustNone
-
- All Implemented Interfaces:
java.io.Serializable
,Executor.Work
public class SomeMustNone extends FullText
FullText
subclass whichparses
3 arrays of strings into into a single Lucene query. If no text is produced, then an exception will be thrown. Some terms are joined in to "( a OR b OR c)", must terms are turned into "+d +e +f", and none terms are turned into "-g -h -i".- Since:
- 3.0-Beta3
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ome.services.search.FullText
ALL_PROJECTIONS, TOTAL_SIZE
-
Fields inherited from class ome.services.search.SearchAction
chainedList, timeout, values
-
-
Constructor Summary
Constructors Constructor Description SomeMustNone(SearchValues values, java.lang.String[] some, java.lang.String[] must, java.lang.String[] none, java.lang.Class<? extends org.apache.lucene.analysis.Analyzer> analyzer)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static java.lang.String
parse(java.lang.String[] some, java.lang.String[] must, java.lang.String[] none)
-
Methods inherited from class ome.services.search.FullText
doWork, getProjections, getScore, getTotalSize, initializeQuery
-
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, setTimeout
-
-
-
-
Constructor Detail
-
SomeMustNone
public SomeMustNone(SearchValues values, java.lang.String[] some, java.lang.String[] must, java.lang.String[] none, java.lang.Class<? extends org.apache.lucene.analysis.Analyzer> analyzer)
-
-