[ 
https://issues.apache.org/jira/browse/SOLR-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905938#action_12905938
 ] 

Yonik Seeley commented on SOLR-2092:
------------------------------------

Performance results:

Faceting on a single valued field with 100K unique values.
Base doc set size = 100K docs.
facet.limit=10
8 request threads (CPU = 4 core Phenom II)
Average response time was measured externally (i.e. includes all request 
parsing, response writing, etc)

|facet.offset|ms trunk|ms patch
|0|18|17
|100|18|17
|1000|23|17
|10000|70|20
|100000|211|26

So as expected, most of the performance benefit is when you are paging deep, 
but there are also slight improvements across the board.

I plan on committing soon.

> Use a native priority queue to order facet results
> --------------------------------------------------
>
>                 Key: SOLR-2092
>                 URL: https://issues.apache.org/jira/browse/SOLR-2092
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>         Attachments: SOLR-2092.patch, SOLR-2092.patch
>
>
> Deep paging into facets can be improved via use of a native priority queue.
> Comparisons will be faster, and there will be less GC.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to