lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Hebbrecht <jochenhebbre...@gmail.com>
Subject QueryParser, double quotes and wilcard inside the double quotes
Date Tue, 03 Jul 2012 15:59:12 GMT
Hi all,

Imagine you have the following books which are indexed using Lucene

book1 -> title: "foo bar test"
book2 -> title: "foo barrr test"
book3 -> title: "foo bar bar"

I want to find book1 and book2 using the following query "foo * test". But
if I pass this string to the QueryParser, the QueryParser seems to be
searching for a literal '*' character.
Any idea's how to fix this?

Thanks!
Jochen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message