lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahendra <>
Subject Help on Phrase Prefix query
Date Mon, 06 Dec 2004 11:34:51 GMT
Presently i am working on a requirement in my application, to do the
search using lucene as follows,
Users enters phrase prefix query text. The query should be constructed
as follows,
- a PhrasePrefixQuery based on the user entered text,  for eg FieldA
- a termquery based on another field, for eg FieldB
- a boolean query is constructed based on the above two queries.
The search based on the boolean query, does not yield any results.
However, query based on PhrasePrefixQuery and TermQuery is returning
results. Can anyone suggest how
to use PhrasePrefixQuery as part of Booleanquery.

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

View raw message