public static class LuceneTestUtilities.IntRangeQueryProvider extends java.lang.Object implements LuceneQueryProvider
| Constructor and Description |
|---|
IntRangeQueryProvider(java.lang.String fieldName,
int lowerValue,
int upperValue) |
| Modifier and Type | Method and Description |
|---|---|
Query |
getQuery(LuceneIndex index) |
public IntRangeQueryProvider(java.lang.String fieldName,
int lowerValue,
int upperValue)
public Query getQuery(LuceneIndex index) throws LuceneQueryException
getQuery in interface LuceneQueryProviderindex - 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.