Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12570

OpenNLPExtractNamedEntitiesUpdateProcessor cannot support multi fields because pattern replacement doesn't work correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.3, 7.3.1, 7.4
    • 7.4.1, 7.5, 8.0
    • None

    Description

      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".

      resolvedDest = resolvedDest.replace(ENTITY_TYPE, entityType);
      

      Attachments

        1. SOLR-12570.patch
          3 kB
          Koji Sekiguchi

        Activity

          People

            koji Koji Sekiguchi
            koji Koji Sekiguchi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: