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

Assume '*' for FieldValueFilter in case excludes are present

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 1.0.0, 0.12.1
    • Component/s: Entityhub
    • Labels:
      None

      Description

      The EntityProcessor org.apache.stanbol.entityhub.indexing.core.processor.FieldValueFilter allows to filter Entities based on values of a field. The typical use case is to filter Entities based on their rdf:type statement.

      The processor is typically configured by the indexing/config/entityTypes.properties:

      Usage example include:

      • only index Persons: values=schema:Person
      • index Person and Organizations: values=schema:Person;schema:Organization
      • index Persons and Entities without type: values=schema:Person;null
      • index everything other than Persons: values=*;!schema:Person
      • exclude Entities without a type: values=*;!null

      When using the tool I noticed that including the * when writing exclusions is not intuitive so this will change the behavior so that * is no longer needed. E.g.

      • index everything other than Persons: values=!schema:Person
      • exclude Entities without a type: values=!null

        Attachments

          Activity

            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: