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

Koji Sekiguchi commented on SOLR-2584:
--------------------------------------

Or we can implement the function in the new update processor and place it after 
uima update processor in the chain.

Anyway I wish I could have the function.

> Add a parameter in UIMAUpdateRequestProcessor to avoid duplicated values on 
> insert
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-2584
>                 URL: https://issues.apache.org/jira/browse/SOLR-2584
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 3.3, 4.0
>            Reporter: Elmer Garduno
>            Priority: Minor
>              Labels: uima
>
> Hi folks, 
> I think that UIMAUpdateRequestProcessor should have a parameter to avoid 
> duplicate values on the updated field. 
> A typical use case is:
> If you are using DictionaryAnnotator and there is a term that matches more 
> than once it will be added two times in the mapped field. I think that we 
> should add a parameter to avoid inserting duplicates as we are not preserving 
> information on the position of the annotation. 
> What do you think about it? I've already implemented this for branch 3x I'm 
> writing some tests and I will submit a patch.
> Regards

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to