lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nada Mimouni" <>
Subject RE: searching a sentence or paragraph
Date Thu, 19 Feb 2009 13:35:01 GMT

You need to create a TermQuery or PhraseQuery with terms in your query depending on what result
you need exactly. 

To create PhraseQuery, try the built-in phrase processing with double quotes, e.g.
"this is a phrase".

See the Term section at

You can also have a look  at


-----Original Message-----
From: Seid Mohammed []
Sent: Thu 2/19/2009 2:29 PM
Subject: searching a sentence or paragraph
from lucen index, how can we search a sentence or a paragraph which
satisfy our query?

thanks a lot
seid m

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

View raw message