Hello Everyone,

Just to keep you all up to date about the maddness I've created. I managed to 
get the data I wanted by hacking:

lucene-2.2.0 highlight/Highlighter.java
solr-1.2 util/HighlightingUtils.java

I got it to output either the word index or pairs of letter offsets (end and 
start) depending on what is required. That means I'm getting the data I want. 
I'm not very happy with the code since it returns these numbers as strings and 
ends up loading and storing the entire file string. But beggars can't be 
choosers and I'm certainly no artisan at java.

Best Regards, Martin Owens

-----Original Message-----
From: Binkley, Peter [mailto:[EMAIL PROTECTED]
Sent: Wed 12/5/2007 4:07 PM
To: solr-user@lucene.apache.org
Subject: RE: Solr Highlighting, word index
 
We're doing a similar process using term vectors to look up the
bounding-box data in a custom response writer for a specific project,
but we're trying to get this packaged up in a more generally usable way
along with handling paging: see
https://issues.apache.org/jira/browse/SOLR-380. We're looking at using
Lucene's new payload functionality.

Peter

Reply via email to