Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1645

Poor performance with full text search (Lucene)

    XMLWordPrintableJSON

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Jena 3.9.0
    • Fix Version/s: Jena 3.10.0
    • Component/s: Jena
    • Labels:
      None

      Description

      Situation: half of a million of an indexed by Lucene documents(emails actually), searching for emails by sender/receiver and some text.

      If to put text filter in the start of SPARQL query it executes once but in a case of very common words here are a lot of results(100 000+) that leads to poor performance, limiting results count may and up with missed results.

      If to put text search as the last condition it executes once per each already found subject. That's completely OK but text search completely ignores subject URI.

      I found two methods in TextQueryPF class: variableSubject(...) for the first case, and concreteSubject(...) for the second one.

      The question is: why can't subject URI be used as a constraint in the text search?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vdanyliuk Vasyl Danyliuk
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: