Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2752

Improve overhead of checking for Timeout during Query execution

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.8.0.Beta2
    • Fix Version/s: 5.8.0.Beta3
    • Component/s: engine
    • Labels:
      None

      Description

      The overhead of checking for Timeouts during a full-text query is rather high.

      We should not verify this when accessing the already scored documents array: it's very unlikely to be useful and prevents inlining. We already perform the checks when actually scoring a new block of results, and also periodically when extracting entities.

        Attachments

          Activity

            People

            • Assignee:
              sanne Sanne Grinovero
              Reporter:
              sanne Sanne Grinovero
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: