lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From duidu...@web.de
Subject When does QueryParser creates PhraseQueries
Date Mon, 25 Feb 2008 14:05:27 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I have the behaviour that when I search with Luke (version 0.7.1, Lucene
version 2.2.0) inside an arbritray field, the QueryParser creates a PhraseQuery
when I type in
~              termA/termB      (no "...")
When I read the documentation at the Lucene webside, I only find the syntax
~             "termA termB"
for creating phrase queries.

Did I make a mistake? Can I configure the QueryParser that he simply tokenizes between
termA and termB, and makes a simple BooleanQuery as he do in the case of a whitespace
delimiter?


regards

Christian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHwssnQoTr50f1tpcRAtuJAJ0Z6bdnX1OUlDWGB0Mf7N/zAiAnLACbBFRe
+9TsMw3ZHW756c8oHWaODPA=
=KACT
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message