You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2017/03/09 15:53:38 UTC

[jira] [Closed] (SOLR-5276) highlighter working using stemmed tokens from another field and text from another

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

David Smiley closed SOLR-5276.
------------------------------
    Resolution: Duplicate

> highlighter working using stemmed tokens from another field and text from another
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-5276
>                 URL: https://issues.apache.org/jira/browse/SOLR-5276
>             Project: Solr
>          Issue Type: Improvement
>          Components: highlighter
>            Reporter: Maciej Lizewski
>            Priority: Minor
>
> The case is like this:
> I have 'content' field with content extracted with tika and several fields for language versions (like content_pl, content_en, content_es, content_ru, etc). 
> I also use custom langid component which can copy 'content' to serveral content_* fields if it detects more than one language (so those parts are properly stemmed in every language present in text).
> Now to use highlighter in such scenario I need to store all those language fields even if their contents is always same as the one in 'content' field.
> Would be nice if I could configure language specific fields to be not stored, and configure highlighter to take tokens positions from those fields and apply them to text in 'content' field...
> In other words - to say: take tokens from 'content_pl', and prepare highlight based on text in 'content' field.
> It could be administrator responsibility to guarantee that mapped fields have same content.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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