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

ASF subversion and git services commented on SOLR-12570:
--------------------------------------------------------

Commit 995a902d1ad40860ee082b57e4e47c1be52c856e in lucene-solr's branch 
refs/heads/master from koji
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=995a902 ]

SOLR-12570: OpenNLPExtractNamedEntitiesUpdateProcessor cannot support multi 
fields because pattern replacement doesn't work correctly


> OpenNLPExtractNamedEntitiesUpdateProcessor cannot support multi fields 
> because pattern replacement doesn't work correctly
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-12570
>                 URL: https://issues.apache.org/jira/browse/SOLR-12570
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: UpdateRequestProcessors
>    Affects Versions: 7.3, 7.3.1, 7.4
>            Reporter: Koji Sekiguchi
>            Priority: Minor
>             Fix For: master (8.0), 7.5
>
>         Attachments: SOLR-12570.patch
>
>
> Because of the following code, if resolvedDest is "body_{EntityType}_s" and 
> becomes "body_PERSON_s" by replacement, but once it is replaced, as 
> placeholder ({EntityType}) is overwritten, the destination is always 
> "body_PERSON_s".
> {code}
> resolvedDest = resolvedDest.replace(ENTITY_TYPE, entityType);
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to