Uploaded image for project: 'Stanbol'
  1. Stanbol
  2. STANBOL-794

Add support for filtering/including Entities with no value for the configured Field to the FieldValueFilter (EntityProcessor)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: entityhub-0.11.0
    • Component/s: Entityhub
    • Labels:
      None

      Description

      Add the possibility to explicitly filter/include Entities that do not have any value for the configured field to the org.apache.stanbol.entityhub.indexing.core.processor.FieldValueFilter

      Changes:

      1. if the values parameter is not present do not longer throw an Exception, but use this to filter all Entities with no value
      2. use "values=" and "values=null" to filter all entities that do have values for the configured field

      All other combinations are already supported by the current implementation

      NOTE: that this change will not change the behavior of any currently valid configuration as the newly added functionality would trigger IllegalArgumentExceptions with the old implementation.

        Activity

        Hide
        rwesten Rupert Westenthaler added a comment -
        Show
        rwesten Rupert Westenthaler added a comment - implemented with http://svn.apache.org/viewvc?rev=1405317&view=rev

          People

          • Assignee:
            rwesten Rupert Westenthaler
            Reporter:
            rwesten Rupert Westenthaler
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development