public class LuceneQueryBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE_ACQUISITION |
static java.lang.String |
DATE_IMPORT |
Constructor and Description |
---|
LuceneQueryBuilder() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
buildLuceneQuery(java.util.List<java.lang.String> fields,
java.util.Date from,
java.util.Date to,
java.lang.String dateType,
java.lang.String input)
Builds a query with the provided input terms over the given fields
|
static java.lang.String |
buildLuceneQuery(java.util.List<java.lang.String> fields,
java.lang.String input)
Builds a query with the provided input terms over the given fields
|
public static final java.lang.String DATE_IMPORT
public static final java.lang.String DATE_ACQUISITION
public static java.lang.String buildLuceneQuery(java.util.List<java.lang.String> fields, java.util.Date from, java.util.Date to, java.lang.String dateType, java.lang.String input) throws InvalidQueryException
fields
- input
- InvalidQueryException
public static java.lang.String buildLuceneQuery(java.util.List<java.lang.String> fields, java.lang.String input) throws InvalidQueryException
fields
- input
- InvalidQueryException