[
https://issues.apache.org/jira/browse/SOLR-12570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551521#comment-16551521
]
Koji Sekiguchi commented on SOLR-12570:
---------------------------------------
I posted a patch in LUCENE-8420. It includes the new ner model which can
predict LOCATION in addition to PERSON. I think we can add the test for this
after LUCENE-8420 committed, I haven't tried the new model file to predict
LOCATION, though.
> 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]