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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.3, 7.3.1, 7.4
    • Fix Version/s: 7.4.1, 7.5, 8.0
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: