| java.lang.Object org.apache.slide.index.lucene.expressions.AbstractLuceneExpression org.apache.slide.index.lucene.expressions.BetweenExpression
BetweenExpression | public class BetweenExpression extends AbstractLuceneExpression (Code) | | Implements a slide specific between and
between-inclusive operators.
With lucene (between prop val1 val2) will be more efficient
than (and (gt prop1 val1) (lt prop val2)) .
In the
org.apache.slide.index.lucene.expressions.MergeExpression
such an optimization is implemented.
Usage:
<searchrequest xmlns:D="DAV:" xmlns:S="http://jakarta.apache.org/slide/">
<S:between>
<D:prop><D:getlastmodified/></D:prop>
<D:literal>Fri, 14 Oct 2004 10:00:00 GMT</D:literal>
<D:literal>Fri, 15 Oct 2004 10:00:00 GMT</D:literal>
</S:between>
|
BetweenExpression | public BetweenExpression(Index index, Element element, boolean inclusive, boolean negated) throws BadQueryException(Code) | | |
BetweenExpression | public BetweenExpression(Index index, String field, String lowerValue, String upperValue, boolean incluseLower, boolean incluseUpper, boolean negated)(Code) | | |
|
|