[
https://issues.apache.org/jira/browse/SOLR-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Dryganets updated SOLR-456:
----------------------------------
Attachment: OverrideFieldAnalyzer.patch
There are patch to add such ability
PS: It's just to show that it's easy to realize (I'm not perform any
refactoring to minimize changes)
> Ability to choose another analyzer for field
> --------------------------------------------
>
> Key: SOLR-456
> URL: https://issues.apache.org/jira/browse/SOLR-456
> Project: Solr
> Issue Type: Wish
> Components: highlighter
> Affects Versions: 1.3
> Reporter: Sergey Dryganets
> Attachments: OverrideFieldAnalyzer.patch
>
>
> To add new search options for example add case-sensitivity and not
> case-sensitivity search
> we need to index same field twice
> for example create field with 2 search options
> We should create 3 fields
> 1. case-sensitive <cs_text> index only field
> not case-sensitive <ncs_text> index only field
> and storage only field <text>
> So to properly highlight search by index we should use analyzer from another
> field (we send hl.fl =text but search by cs_text or ncs_text)
> It's possible to add parameter to per field override highlighter analyzer?
> ie I want to send parameter
> f.<fieldName>.hl.fieldOverride=<anotherFieldName>
> or for example above:
> f.text.hl.fieldOverride=ncs_text
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.