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".ALL_PROJECTIONS, TOTAL_SIZE
chainedList, values
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
parse(java.lang.String[] some,
java.lang.String[] must,
java.lang.String[] none) |
doWork, getProjections, getScore, getTotalSize, initializeQuery
annotatedBetween, annotatedBetween, annotatedBy, annotatedBy, chainedSearch, copyOfValues, createdOrModified, createdOrModified, description, ids, ids, notNullOrLikeOrEqual, notNullOrLikeOrEqual, orderByAscending, orderByPath, ownerOrGroup, ownerOrGroup
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)
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.