List Info

Thread: Created: (SOLR-406) Allow SolrHighlighter to get parameters from code instead of request




Created: (SOLR-406) Allow SolrHighlighter to get parameters from code instead of request
user name
2007-11-06 14:44:51
Allow SolrHighlighter to get parameters from code instead of
request
------------------------------------------------------------
--------

                 Key: SOLR-406
                 URL: https:
//issues.apache.org/jira/browse/SOLR-406
             Project: Solr
          Issue Type: Improvement
          Components: highlighter
            Reporter: Doug Daniels
            Priority: Minor


I'd like to specify whether to highlight, which fields to
highlight, etc in the code rather than through the request
parameters.  I can't find a way to do that right now, as the
doHighlighting method pulls SolrParams directly from the
request, and SolrParams don't seem to support modification.

For discussion, see http://www.nabble.com/forum/ViewPost.jtp?post
=13612249&framed=y

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


Updated: (SOLR-406) Allow SolrHighlighter to get parameters from code instead of request
user name
2007-11-06 15:00:50
     [ 
https://issues.apache.org/jira/browse/SOLR-406?page=com.atla
ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Daniels updated SOLR-406:
------------------------------

    Attachment: SOLR-406-SolrHighlighter-params.patch

Patch to add SolrParams parameter to SolrHighlighter. 
Preserves existing public methods, adding overloaded
versions of getHighlighter, getHighlightFields, and
doHighlighting.

> Allow SolrHighlighter to get parameters from code
instead of request
>
------------------------------------------------------------
--------
>
>                 Key: SOLR-406
>                 URL: https:
//issues.apache.org/jira/browse/SOLR-406
>             Project: Solr
>          Issue Type: Improvement
>          Components: highlighter
>            Reporter: Doug Daniels
>            Priority: Minor
>         Attachments:
SOLR-406-SolrHighlighter-params.patch
>
>
> I'd like to specify whether to highlight, which fields
to highlight, etc in the code rather than through the
request parameters.  I can't find a way to do that right
now, as the doHighlighting method pulls SolrParams directly
from the request, and SolrParams don't seem to support
modification.
> For discussion, see http://www.nabble.com/forum/ViewPost.jtp?post
=13612249&framed=y

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


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )