ome.services.search
Class SomeMustNone
java.lang.Object
ome.services.search.SearchAction
ome.services.search.FullText
ome.services.search.SomeMustNone
- All Implemented Interfaces:
- Serializable, Executor.Work
public class SomeMustNone
- extends FullText
FullText
subclass which
parses
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
- 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 |
SomeMustNone
public SomeMustNone(SearchValues values,
String[] some,
String[] must,
String[] none,
Class<? extends Analyzer> analyzer)
parse
protected static String parse(String[] some,
String[] must,
String[] none)
OmeroJava Api
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.