[ 
https://issues.apache.org/jira/browse/SOLR-610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Kotthoff updated SOLR-610:
-------------------------------

    Attachment: SOLR-610-maxanalyzed.patch

Patch adding the described feature and a unit test for it. Also using 
highlighter.setMaxDocCharsToAnalyze instead of the deprecated 
highlighter.setMaxDocBytesToAnalyze to tell Lucene how many characters to 
analyze.

This patch clashes with the changes in SOLR-556, I'll be happy to provide a 
patch which covers both issues if required.

> Add support for hl.maxAnalyzedChars=-1 to highlight the whole field
> -------------------------------------------------------------------
>
>                 Key: SOLR-610
>                 URL: https://issues.apache.org/jira/browse/SOLR-610
>             Project: Solr
>          Issue Type: New Feature
>          Components: highlighter
>    Affects Versions: 1.3
>         Environment: Tomcat 5.5
>            Reporter: Lars Kotthoff
>            Priority: Minor
>         Attachments: SOLR-610-maxanalyzed.patch
>
>
> Add support for specifying negative values for the hl.maxAnalyzedChars 
> parameter to be able highlight the whole field without having to know its 
> size.

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

Reply via email to