Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5393

Support mixed indexed and non-indexed fields in DSL based queries

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Beta1
    • 7.0.0.Final
    • Embedded Querying
    • None

      If a query uses both indexed and non-indexed fields we should be able to execute it in two phases. A first less selective query on the index and then post process it by reapplying the whole filter again to results of the first phase.

      This should be more efficient than completely ignoring the indexed fields and executing the non-indexed query on the whole data set.

      A possible idea to derive the query to be executed in first phase is to apply the Boole-Shannon expansion theorem (http://en.wikipedia.org/wiki/Boole%27s_expansion_theorem).

            anistor Adrian Nistor (Inactive)
            anistor Adrian Nistor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: