You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Skealler Nametic <bc...@gmail.com> on 2013/03/27 15:28:11 UTC
How do I recover the position and offset a highlight for solr (4.1/4.2)?
Hi,
I would like to retrieve the position and offset of each highlighting found.
I searched on the internet, but I have not found the exact solution to my
problem...
Re: How do I recover the position and offset a highlight for solr (4.1/4.2)?
Posted by Dmitry Kan <so...@gmail.com>.
Hi,
They are available in the HighlighterComponent. You will need to read the
source code.
Dmitry
On Wed, Mar 27, 2013 at 4:28 PM, Skealler Nametic <bc...@gmail.com>wrote:
> Hi,
>
> I would like to retrieve the position and offset of each highlighting
> found.
> I searched on the internet, but I have not found the exact solution to my
> problem...
>
Re: How do I recover the position and offset a highlight for solr (4.1/4.2)?
Posted by P Williams <wi...@gmail.com>.
Hi,
It doesn't have the offset information, but checkout my patch
https://issues.apache.org/jira/browse/SOLR-4722 which outputs the position
of each term that's been matched. I'm eager to get some feedback on this
approach and any improvements that might be suggested.
Cheers,
Tricia
On Wed, Mar 27, 2013 at 8:28 AM, Skealler Nametic <bc...@gmail.com>wrote:
> Hi,
>
> I would like to retrieve the position and offset of each highlighting
> found.
> I searched on the internet, but I have not found the exact solution to my
> problem...
>