lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: get begin/end of matched terms
Date Sun, 22 Oct 2017 01:08:39 GMT

Hi Nicolas,

With SpanQuery family, it is possible to retrieve spans (index/position information)

Also, you may find luwak relevant.


On Sunday, October 22, 2017, 1:16:01 AM GMT+3, Nicolas Paris <> wrote:


I am looking for a way to get the index of matched terms. Right now, I
haven't found any trivial solution. I ve found the  highlighter code[1]
that looks to do the job. Before I start to code that myself, user may
already did that and point me in the right direction.



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

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