On 2/27/07, Ken Krugler <[EMAIL PROTECTED]> wrote:

I'm also interested in this. For me, I don't need sorted output,
faceted browsing, or alternative output formats - so something along
the lines of the "Merge XML responses w/o Schema" proposal would be
just fine.

Open issues:

3.  Highlighting as a separate step.

Currently a bit of work needs to be done to do this efficiently with
Solr.  The way I set it up is roughly:
- turn on lazy field loading.  For best effect, compress the main text field.
- create a new request handler that is similar to dismax, but uses
the query for highlighting only.  A separate parameter allows the
specification of document keys to highlight
- highlighting requires the internal lucene document id, not the
document key, and it can be slow to execute queries to get the ids.  I
created a custom cache that maps doc keys -> doc ids, populate it
during the main query, and grab ids from the cache during the
highlighting step.

regards,
-Mike

Reply via email to