lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Dryganets (JIRA)" <>
Subject [jira] Created: (SOLR-460) Improvment to highlighting infrastructure
Date Thu, 17 Jan 2008 17:48:33 GMT
Improvment to highlighting infrastructure

                 Key: SOLR-460
             Project: Solr
          Issue Type: Improvement
          Components: highlighter
    Affects Versions: 1.3
            Reporter: Sergey Dryganets

Now I'm write a plugin for SOLR to highlight custom user data

ie my application send to handler on Solr set of documents to highlight in xml format

handler parse xml, create list of Document (not Lucene object just my abstraction which content
it's enough to properly highlight fields)

So I'm think  you can change SolrHighlighter:

public NamedList<Object> doHighlighting(DocList docs, Query query, SolrQueryRequest
req, String[] defaultFields) 
public NamedList<Object> doHighlighting(List<Document> docs, Query query, SolrQueryRequest
req, String[] defaultFields) 

or create some type of provider to retrieve list of abstract Document's

and Highlighter will be more reusable :)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message