Re: Know which terms are in a document

2010-07-29 Thread Max Lynch
Yea, I've had mild success with the highlighting approach with lucene, but wasn't sure if there was another method available from solr. Thanks Mike. On Thu, Jul 29, 2010 at 5:17 AM, Michael McCandless < luc...@mikemccandless.com> wrote: > This is a fairly frequently requested and missing feature

Re: Know which terms are in a document

2010-07-29 Thread Michael McCandless
This is a fairly frequently requested and missing feature in Lucene/Solr... Lucene actually "knows" this information while it's scoring each document; it's just that it in no way tries to record that. If you will only do this on a few documents (eg the one page of results) then piggybacking on th

Know which terms are in a document

2010-07-28 Thread Max Lynch
I would like to be search against my index, and then *know* which of a set of given terms were found in each document. For example, let's say I want to show articles with the word "pizza" or "cake" in them, but would like to be able to say which of those two was found. I might use this to handle