Koji Sekiguchi created SOLR-12570:
-------------------------------------

             Summary: 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.4, 7.3.1, 7.3
            Reporter: Koji Sekiguchi
             Fix For: master (8.0), 7.5


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