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

pass timeout to Lucene query

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Jena 3.12.0
    • Fix Version/s: None
    • Component/s: Fuseki
    • Labels:
      None

      Description

      The use case is to make sure that a query in Fuseki cannot take more than a configured number of seconds. The case where the query doesn't use the text extension seems to be handled, but the current code cannot stop a text query if it takes longer than the timeout.

       

      The call to Lucene fetches all the results in one call, which can result in the set timeout not being respected. Lucene seems to expose ways to limit a query time so it should be possible to limit a Lucene query to the remaining time before timeout. This doesn't seem very straightforward to apply to the current code though.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eroux Elie Roux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: