[ https://issues.apache.org/jira/browse/LUCENE-9036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16965628#comment-16965628 ]
Adrien Grand commented on LUCENE-9036: -------------------------------------- +1 ExitableDirectoryReader should try to handle all data-structures consistently. I think it hasn't been suggested before because doc values are often consumed via a collector and we already have a TimeLimitingCollector, but like you mentioned Solr's analytics component or the Lucene facet module consume doc values without a collector so adding support for timeout on doc values could be useful. Checking every N-th doc would make sense to me as you would otherwise never be able to interrupt execution of queries if the index has been force-merged down to 1 segment. > ExitableDirectoryReader to interrupt DocValues as well > ------------------------------------------------------ > > Key: LUCENE-9036 > URL: https://issues.apache.org/jira/browse/LUCENE-9036 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Mikhail Khludnev > Priority: Major > > This allow to make AnalyticsComponent and json.facet sensitive to time > allowed. > Does it make sense? Is it enough to check on DV creation ie per field/segment > or it's worth to check every Nth doc? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org