Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22822

Do not index empty field values in Solr and Elasticsearch

    Details

      Description

      Solr does not have a concept of null value. Typically such value would not be indexed at all.

      We have at least one field type (MapLocation) that will break indexing if empty. It should be possible to use FieldType::isEmpty() to skip this case, however we have some field types that have indexable empty value, for example TextLine has zero length string as empty value that should probably be indexed.

      This case needs to be added to the integration tests.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Petar Spanja (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: