lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janne Majaranta (JIRA)" <>
Subject [jira] [Commented] (SOLR-2548) Multithreaded faceting
Date Thu, 26 May 2011 19:43:48 GMT


Janne Majaranta commented on SOLR-2548:

The attached patch adds initial multithreading support for faceting. The patch simply wraps
the facet counting methods per field into java.util.concurrent.Callable instances and executes
these with a ExecutorService having a threadpool-size equal to the number of processors reported
by the runtime.

Seems like this adds quite nice speed boosts when faceting over multiple fields. In initial
tests (with a patched SOLR 3.1 instance) the faceting speed was about 2x-8x faster with both
faceting methods, enum and fc.

> Multithreaded faceting
> ----------------------
>                 Key: SOLR-2548
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 3.1
>            Reporter: Janne Majaranta
>            Priority: Minor
>              Labels: facet
>         Attachments: SOLR-2548.patch, SOLR-2548_for_31x.patch
> Add multithreading support for faceting.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message