You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2016/10/06 12:06:20 UTC

[jira] [Commented] (SOLR-456) Ability to choose another analyzer for field

    [ https://issues.apache.org/jira/browse/SOLR-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15551755#comment-15551755 ] 

Alexandre Rafalovitch commented on SOLR-456:
--------------------------------------------

This seems to be a very-old request for highlighting an alternative field (not sure I understood exact requirements).

But we now have hl.highlightAlternate, hl.alternateField, and hl.fl. It seems that one of these should fulfill the requirements.

Is there anything else that needs to be done here?

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org