lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: how can i search multiple words in line and paragraph?
Date Wed, 25 Jul 2012 09:02:21 GMT
Look into spans and line, or sentence, delimiters and tokens, and
position increment gaps.  Google will help you.  You can do a whole
lot of stuff with spans - see
http://www.lucidimagination.com/blog/2009/07/18/the-spanquery/ for a
good intro.

Lucene 2.9 is ancient. You should upgrade.


--
Ian.


On Wed, Jul 25, 2012 at 6:20 AM, neerajshah84 <neerajshah84@gmail.com> wrote:
> i have requirement that have to search multiple words in paragraph and in
> line depending upon the situation.
> how can i do this in lucene. im using Lucene2.9.
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
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