public class LuceneQueryBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
INCLUDE_INCOMPLETE_BUILDS |
static String |
PARAM_BUILD_IDS |
static String |
PARAM_PLAN_KEYS |
static String |
SEARCH_LAST_25_BUILDS |
static String |
SEARCH_LAST_30_DAYS |
static String |
SEARCH_LAST_7_DAYS |
static String |
SEARCH_LAST_90_DAYS |
static String |
SEARCH_RANGE |
static String |
SEARCH_RANGE_DATE_FROM |
static String |
SEARCH_RANGE_DATE_TO |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.Query |
generateBrsQuery(Map<String,String[]> parameters,
CachedPlanManager cachedPlanManager,
PlanManager planManager) |
static org.apache.lucene.search.TermQuery |
newIdQuery(String fld,
long id) |
static org.apache.lucene.index.Term |
newIdTerm(String fld,
long id) |
static org.apache.lucene.search.Query |
numericQuery(String fld,
Integer value) |
static org.apache.lucene.search.Query |
numericQuery(String fld,
Long value) |
static org.apache.lucene.search.Query |
onlyFinishedBuildsQuery() |
static org.apache.lucene.index.Term |
term(String fld,
long value)
Deprecated.
since 5.7 use
term(String, String) or numericQuery(String, Long) instead |
static org.apache.lucene.index.Term |
term(String fld,
String value) |
public static final String SEARCH_LAST_7_DAYS
public static final String SEARCH_LAST_30_DAYS
public static final String SEARCH_LAST_90_DAYS
public static final String SEARCH_LAST_25_BUILDS
public static final String SEARCH_RANGE
public static final String SEARCH_RANGE_DATE_FROM
public static final String SEARCH_RANGE_DATE_TO
public static final String PARAM_BUILD_IDS
public static final String PARAM_PLAN_KEYS
public static final String INCLUDE_INCOMPLETE_BUILDS
public static org.apache.lucene.search.Query generateBrsQuery(Map<String,String[]> parameters, CachedPlanManager cachedPlanManager, PlanManager planManager)
@NotNull public static org.apache.lucene.search.Query onlyFinishedBuildsQuery()
@Deprecated public static org.apache.lucene.index.Term term(String fld, long value)
term(String, String)
or numericQuery(String, Long)
instead@NotNull public static org.apache.lucene.search.TermQuery newIdQuery(String fld, long id)
@NotNull public static org.apache.lucene.index.Term newIdTerm(String fld, long id)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.