Re: Highlighting, offsets -- external doc store

2016-11-29 Thread John Bickerstaff
Thank you Simon. On Tue, Nov 29, 2016 at 11:25 AM, simon wrote: > You might want to take a look at > https://issues.apache.org/jira/browse/SOLR-4722 > ( 'highlighter which generates a list of query term positions'). We used it > a while back and doesn't appear to have been

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread simon
You might want to take a look at https://issues.apache.org/jira/browse/SOLR-4722 ( 'highlighter which generates a list of query term positions'). We used it a while back and doesn't appear to have been used in any Solr > 4.10) -Simon On Tue, Nov 29, 2016 at 11:43 AM, John Bickerstaff

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread John Bickerstaff
Beautiful! Thank you all - that is exactly what I needed to be sure where I stood on this before going into a meeting today. On Tue, Nov 29, 2016 at 11:03 AM, Kevin Risden wrote: > For #2 you might be able to get away with the following: > >

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread Kevin Risden
For #2 you might be able to get away with the following: https://cwiki.apache.org/confluence/display/solr/The+Term+Vector+Component The Term Vector component can return offsets and positions. Not sure how useful they would be to you, but at least is a starting point. I'm assuming this requires

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread Kevin Risden
For #3 specifically, I've always found this page useful: https://cwiki.apache.org/confluence/display/solr/Field+Properties+by+Use+Case It lists out what properties are necessary on each field based on a use case. Kevin Risden On Tue, Nov 29, 2016 at 11:49 AM, Erick Erickson

Re: Highlighting, offsets -- external doc store

2016-11-29 Thread Erick Erickson
(1) No that I have readily at hand. And to make it worse, there's the UnifiedHighlighter coming out soon I don't think there's a good way for (2). for (3) at least yes. The reason is simple. For analyzed text, the only thing in the index is what's made it through the analysis chains. So

Highlighting, offsets -- external doc store

2016-11-29 Thread John Bickerstaff
All, One of the questions I've been asked to answer / prove out is around the question of highlighting query matches in responses. BTW - One assumption I'm making is that highlighting is basically a function of storing offsets for terms / tokens at index time. If that's not right, I'd be