Re: [PR] quick exit on filter query matching no docs when rewriting knn query [lucene]

2025-04-05 Thread via GitHub
jpountz commented on PR #14418: URL: https://github.com/apache/lucene/pull/14418#issuecomment-2762525239 Can you help me understand what work this change helps save? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [PR] quick exit on filter query matching no docs when rewriting knn query [lucene]

2025-03-31 Thread via GitHub
bugmakerr commented on PR #14418: URL: https://github.com/apache/lucene/pull/14418#issuecomment-2766274186 > So in the case when the filter rewrites to MatchNoDocsQuery, `IndexSearcher#search` would now return immediately, while it may currently need to wait for tasks to be submitted (i

Re: [PR] quick exit on filter query matching no docs when rewriting knn query [lucene]

2025-03-31 Thread via GitHub
jpountz merged PR #14418: URL: https://github.com/apache/lucene/pull/14418 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apa

Re: [PR] quick exit on filter query matching no docs when rewriting knn query [lucene]

2025-03-30 Thread via GitHub
jpountz commented on PR #14418: URL: https://github.com/apache/lucene/pull/14418#issuecomment-2764554455 Thank you, that makes sense. So in the case when the filter rewrites to MatchNoDocsQuery, `IndexSearcher#search` would now return immediately, while it may currently need to wait for tas

Re: [PR] quick exit on filter query matching no docs when rewriting knn query [lucene]

2025-03-29 Thread via GitHub
bugmakerr commented on PR #14418: URL: https://github.com/apache/lucene/pull/14418#issuecomment-2763256416 > Can you help me understand what work this change helps save? Thanks for your reply. I think if the filter query matches no docs, the knn query must also match no docs. Befo

[PR] quick exit on filter query matching no docs when rewriting knn query [lucene]

2025-03-27 Thread via GitHub
bugmakerr opened a new pull request, #14418: URL: https://github.com/apache/lucene/pull/14418 ### Description -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment.