You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/09/13 05:49:39 UTC

[GitHub] [lucene] patelprateek opened a new issue, #11765: Query optimizer statistics

patelprateek opened a new issue, #11765:
URL: https://github.com/apache/lucene/issues/11765

   ### Description
   
   new to lucene usage , I am wondering if there is some internal data structure that lucene maintains to look at filter usage and coverage stats like cpu time it takes to execute the query ? 


-- 
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-unsubscribe@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] jpountz closed issue #11765: Query optimizer statistics

Posted by GitBox <gi...@apache.org>.
jpountz closed issue #11765: Query optimizer statistics
URL: https://github.com/apache/lucene/issues/11765


-- 
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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] jpountz commented on issue #11765: Query optimizer statistics

Posted by GitBox <gi...@apache.org>.
jpountz commented on issue #11765:
URL: https://github.com/apache/lucene/issues/11765#issuecomment-1248281846

   Lucene has a `QueryProfilerIndexSearcher` that allows to capture some of this information for a given search, but it adds a lot of overhead. The way that Lucene interleaves evaluation of queries doesn't allow tracking statistics in a cheap way.


-- 
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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] patelprateek commented on issue #11765: Query optimizer statistics

Posted by GitBox <gi...@apache.org>.
patelprateek commented on issue #11765:
URL: https://github.com/apache/lucene/issues/11765#issuecomment-1248413173

   @jpountz : After a query runs , i read that lucene uses filter cache where it encodes the posting list using compressed bitmaps (roaring) , is there any api to retrieve these compressed bitmap rather than iterating over the actual document ids ?
   
   My use case is some filters can have possibly large hits (>10 million) and in such scenarios the compressed bitmaps can possibly help for downstream logic . Any recommendations or pointers for any other approaches ? 
   For a query is it possible to have a quick dry run to get estimated number of documents it will return ?


-- 
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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org