Improve overhead of checking for Timeout during Query execution

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.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created May 30, 2017 at 11:21 AM
Updated June 13, 2017 at 10:38 AM
Resolved May 30, 2017 at 12:15 PM