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] Updated: (SOLR-1968) speed up initial cache population for facet.method=enum
Date Tue, 22 Jun 2010 17:36:55 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yonik Seeley updated SOLR-1968:
-------------------------------

    Attachment: SOLR-1968.patch

Patch attached.

|unique terms in field|trunk first-time facet in ms|patch first-time facet in ms|speedup
|100000|24776|761|32.6x
|10000|2791|358|7.8x
|1000|583|293|2.0x
|100|329|260|1.3x
|10|195|156|1.3x

Given the nice speedups, I plan on committing shortly.

> speed up initial cache population for facet.method=enum
> -------------------------------------------------------
>
>                 Key: SOLR-1968
>                 URL: https://issues.apache.org/jira/browse/SOLR-1968
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: SOLR-1968.patch
>
>
> Seeking with a term enumerator is expensive... we should reuse the enum to generate the
cached doc set when possible.

-- 
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