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.NumericRangeQuery<Integer> |
numericQuery(String fld,
Integer value) |
static org.apache.lucene.search.NumericRangeQuery<Long> |
numericQuery(String fld,
Long value) |
static org.apache.lucene.search.Query |
onlyFinishedBuildsQuery() |
static org.apache.lucene.index.Term |
term(String fld,
long 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()
public static org.apache.lucene.index.Term term(String fld, long value)
public static org.apache.lucene.search.NumericRangeQuery<Integer> numericQuery(String fld, Integer value)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.