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

XPath entity processor problem with empty fields processing.

    XMLWordPrintableJSON

Details

    Description

      Xpath entity processor has following problem with processing the empty fields.
      While processing XML containing a field with empty value, its fetching the next fields value.

      When I import the follow record into SOLR by DIH
      <add>
      ...
      <doc>
      <field name="keywords"></field>
      <field name="ContentURL">http://apache.org</field>
      </doc>
      ...
      </add>

      When I query the record, the return result is not the same as expect:
      There is no "ContentURL" field, instead there is a field "keywords" has content "http://apache.org".

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 72h
                  72h
                  Remaining:
                  Remaining Estimate - 72h
                  72h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified