mirror of https://github.com/apache/lucene.git
LUCENE-490: Fix to allow QueryParser.jj to work with JavaCC 4.0 submitted by Steven Rowe
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@372383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e37a04646a
commit
abed4e6990
|
@ -44,7 +44,7 @@ import org.apache.lucene.util.Parameter;
|
||||||
* href="http://lucene.apache.org/java/docs/queryparsersyntax.html">query syntax
|
* href="http://lucene.apache.org/java/docs/queryparsersyntax.html">query syntax
|
||||||
* documentation</a>.
|
* documentation</a>.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* <p>In {@link RangeQuery}s, QueryParser tries to detect date values, e.g. <tt>date:[6/1/2005 TO 6/4/2005]</tt>
|
* <p>In {@link RangeQuery}s, QueryParser tries to detect date values, e.g. <tt>date:[6/1/2005 TO 6/4/2005]</tt>
|
||||||
* produces a range query that searches for "date" fields between 2005-06-01 and 2005-06-04. Note
|
* produces a range query that searches for "date" fields between 2005-06-01 and 2005-06-04. Note
|
||||||
* that the format of the accpeted input depends on {@link #setLocale(Locale) the locale}. This
|
* that the format of the accpeted input depends on {@link #setLocale(Locale) the locale}. This
|
||||||
|
|
|
@ -751,7 +751,7 @@ PARSER_END(QueryParser)
|
||||||
}
|
}
|
||||||
|
|
||||||
<DEFAULT, RangeIn, RangeEx> SKIP : {
|
<DEFAULT, RangeIn, RangeEx> SKIP : {
|
||||||
<<_WHITESPACE>>
|
< <_WHITESPACE>>
|
||||||
}
|
}
|
||||||
|
|
||||||
// OG: to support prefix queries:
|
// OG: to support prefix queries:
|
||||||
|
|
Loading…
Reference in New Issue