public static class LuceneTestUtilities.FloatRangeQueryProvider extends java.lang.Object implements LuceneQueryProvider
Constructor and Description |
---|
FloatRangeQueryProvider(java.lang.String fieldName,
float lowerValue,
float upperValue) |
Modifier and Type | Method and Description |
---|---|
Query |
getQuery(LuceneIndex index) |
public FloatRangeQueryProvider(java.lang.String fieldName, float lowerValue, float upperValue)
public Query getQuery(LuceneIndex index) throws LuceneQueryException
getQuery
in interface LuceneQueryProvider
index
- The LuceneIndex
the query is being executed against.Query
which will be executed against a Lucene index.LuceneQueryException
- if the provider fails to construct the query object. This will be
propagated to callers of the LuceneQuery
find methods.