lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2089) Faceting: order term ords before converting to values
Date Wed, 25 Aug 2010 20:48:18 GMT

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

Yonik Seeley commented on SOLR-2089:
------------------------------------

Results:
docs=10M, docs matching query=1M, facet on field of 100,000 unique terms, facet.method=fc
(multivalued)

|facet.limit|ms to facet trunk|ms to facet patch|
|100|63|63|
|1000|228|191|
|5000|722|307|
|10000|1033|316|

So a decent speedup when facet.limit is very high.
It will also help when facet.limit is high relative to the number of unique terms (since the
speedup is due to ordering the term ords and not having to seek as often).

I plan on committing soon if there are no objections.

> Faceting: order term ords before converting to values
> -----------------------------------------------------
>
>                 Key: SOLR-2089
>                 URL: https://issues.apache.org/jira/browse/SOLR-2089
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Yonik Seeley
>         Attachments: SOLR-2089.patch
>
>
> We should be able to speed up multi-valued faceting that sorts by count and returns many
values by first sorting the term ords before converting them to a string.

-- 
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message