lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helmut Jarausch <>
Subject QueryParser: if key contains a colon
Date Fri, 14 Dec 2007 12:28:19 GMT

how can one search for a key containing a colon when
using QueryParser (with WhitespaceAnalyzer)

searching for   'abc:def'

Giving this string to QueryParser's parse
method, abc: will be misinterpreted as the name
of a field. How can this be avoided?
Is there something like an escape technique?

Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message