You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2008/07/26 05:29:32 UTC
[jira] Updated: (SOLR-662) support all highlighter parameters in
solr-ruby
[ https://issues.apache.org/jira/browse/SOLR-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koji Sekiguchi updated SOLR-662:
--------------------------------
Attachment: SOLR-662.patch
For backward compatibility, the patch supports both formats:
{code:title=@params[:highlighting][:max_snippets]}
:highlighting => {
:max_snippets => 3
}
{code}
{code:title=@params[:highlighting][:max_snippets]}
:highlighting => {
:max_snippets => {
:default=>2,:fields=>{'author'=>3}
}
}
{code}
> support all highlighter parameters in solr-ruby
> -----------------------------------------------
>
> Key: SOLR-662
> URL: https://issues.apache.org/jira/browse/SOLR-662
> Project: Solr
> Issue Type: Improvement
> Components: clients - ruby - flare
> Affects Versions: 1.3
> Reporter: Koji Sekiguchi
> Priority: Minor
> Attachments: SOLR-662.patch
>
>
> At present solr-ruby doesn't support the following hl functions:
> * per-field override
> ** hl.snippets
> ** hl.fragsize
> ** hl.requireFieldMatch
> ** hl.simple.pre
> ** hl.simple.post
> * non-per-field-override
> ** hl.alternateField
> ** hl.maxAlternateFieldLength
> * other hl parameters
> ** hl.maxAnalyzedChars (w/ *per-field override*)
> ** hl.usePhraseHighlighter
> ** hl.mergeContiguous (w/ *per-field override*)
> ** hl.increment (w/ *per-field override*)
> ** hl.formatter (w/ *per-field override*)
> ** hl.fragmenter (w/ *per-field override*)
> ** hl.regex.slop (w/ *per-field override*)
> ** hl.regex.pattern (w/ *per-field override*)
> ** hl.regex.maxAnalyzedChars (w/ *per-field override*)
> A patch supports these functions will be shortly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.