lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shashi Kant <sk...@sloan.mit.edu>
Subject Re: search by word offset
Date Mon, 02 Mar 2009 10:06:18 GMT
Not sure what you are asking about, but you might want to take a look at
http://lucene.apache.org/java/2_4_0/api/contrib-surround/index.html

The Surround parser offers many features around the span query (which I
suspect is what you are looking for)

Shashi


On Mon, Mar 2, 2009 at 4:57 AM, shb <sharonbn@gmail.com> wrote:

>
> hi i need help.
>
> i need to search by word in sentences with lucene. for example by the word
> "bbb" i got the right results of all the sentences :
>
> "text  ok ok ok bbb" , "text 2 bbb text " , "bbb  text 4...".
>
> but i need the result by the word offset in the sentence like this:
>
> "bbb text 4...". , "text 2 bbb text " , "text 1 ok ok ok bbb" ..
>
> waiting for ideas.. thanks..
>
>
> --
> View this message in context:
> http://www.nabble.com/search-by-word-offset-tp22284787p22284787.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
>
>

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