public class NameRangeQuery
extends org.apache.lucene.search.Query
NameRangeQuery
...Constructor and Description |
---|
NameRangeQuery(Name lowerName,
Name upperName,
boolean inclusive,
IndexFormatVersion version,
NamespaceMappings nsMappings,
org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
Creates a new NameRangeQuery.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader) |
String |
toString(String field) |
public NameRangeQuery(Name lowerName, Name upperName, boolean inclusive, IndexFormatVersion version, NamespaceMappings nsMappings, org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
null
, but not both!lowerName
- the lower name of the interval, or null
upperName
- the upper name of the interval, or null
.inclusive
- if true
the interval is inclusive.version
- the index format version.nsMappings
- the internal namespace mappings.public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader) throws IOException
rewrite
in class org.apache.lucene.search.Query
IOException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.