Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9374

Lucene: LIKE conditions combined with OR are not passed to Lucene

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • lucene
    • None

    Description

      While a single LIKE condition works, combining multiple of them (using the same indexed property) with OR leads to a simple Lucene TermQuery being used with just a not null condition for the property being used. The result is correct, but the performance and memory usage suffer.

      Attachments

        Issue Links

          Activity

            People

              baedke Manfred Baedke
              baedke Manfred Baedke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: