On 24-Oct-07, at 7:10 AM, Alf Eaton wrote:
Yes, I was just trying that this morning and it's an improvement,
though
not ideal if the field contains a lot of text (in other words it's
still
a suboptimal workaround).
I do think it might be useful for the response to contain an element
saying which fields were matched by the query, including which
sub-sections of a multi-valued field were matched.
This isn't readily-accessible information. Text search engines work
by storing a list of documents and occurrence frequency for each
document _per term_. At that point, the information about the
structure of the document is not available.
It is computable given sufficient effort, but certainly not something
Solr should provide by default.
Have you considered storing each section as a separate Solr Document?
-Mike