> From: Peter Carlson [mailto:carlson@bookandhammer.com]
>
> % (can use be used to escape characters).
This reminds me: Should we add an escape character to the query parser?
This would permit any query syntax character to be included literally in a
query token (provided the analyzer could also handle that character).
Percent and backslash are popular escapes.
For example, if backslash were the escape, then the query:
file:c\:\\autoexec.bat
would match the term "c:\autoexec.bat" in the "file" field.
Thoughts?
Doug
--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>
|