[
https://issues.apache.org/jira/browse/SOLR-13121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yasufumi Mizoguchi updated SOLR-13121:
--------------------------------------
Attachment: SOLR-13121.patch
> UnifiedHighlighter should treat negative values as Integer.MAX_VALUE in
> hl.maxAnalyzedChars.
> --------------------------------------------------------------------------------------------
>
> Key: SOLR-13121
> URL: https://issues.apache.org/jira/browse/SOLR-13121
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: highlighter
> Affects Versions: 7.6
> Reporter: Yasufumi Mizoguchi
> Priority: Trivial
> Attachments: SOLR-13121.patch
>
>
> OriginalHighlighter and FastVectorHighlighter treat negative values as
> Integer.MAX_VALUE in hl.masAnalyzedChars, but UnifiedHighlighter returns an
> error when setting negative values as the parameter.
>
> Here is the procedure for reproducing.
>
> {noformat}
> $ bin/solr -e techproducts
> $ curl -XGET
> "localhost:8983/solr/techproducts/select?hl.fl=name&hl.maxAnalyzedChars=-1&hl.method=original&hl=on&q=memory&df=name"
> $ curl -XGET
> "localhost:8983/solr/techproducts/select?hl.fl=name&hl.maxAnalyzedChars=-1&hl.method=fastVector&hl=on&q=memory&df=name"
> $ curl -XGET
> "localhost:8983/solr/techproducts/select?hl.fl=name&hl.maxAnalyzedChars=-1&hl.method=unified&hl=on&q=memory&df=name"
> {noformat}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]