lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Updated] (SOLR-2548) Multithreaded faceting
Date Sun, 15 Sep 2013 21:43:55 GMT


David Smiley updated SOLR-2548:

    Attachment: SOLR-2548_multithreaded_faceting,_dsmiley.patch

The attached patch improves on my previous one a little -- a few more comments, a variable
rename for clarity, an assertion.  And of course I removed the future.cancel() loop.

I think this code is pretty clear as far as multithreaded code goes:  One loop that submits
tasks, and a follow-on loop that consumes the results of those tasks, and a semaphore to ensure
no more than the desired number of threads are computing the facets.

It'd be cool to eventually extend multithreading across all the faceting types. I'll look
into that next week. 
> Multithreaded faceting
> ----------------------
>                 Key: SOLR-2548
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 3.1
>            Reporter: Janne Majaranta
>            Assignee: Erick Erickson
>            Priority: Minor
>              Labels: facet
>             Fix For: 4.5, 5.0
>         Attachments: SOLR-2548_4.2.1.patch, SOLR-2548_for_31x.patch, SOLR-2548_multithreaded_faceting,_dsmiley.patch,
SOLR-2548_multithreaded_faceting,_dsmiley.patch, SOLR-2548.patch, SOLR-2548.patch, SOLR-2548.patch,
SOLR-2548.patch, SOLR-2548.patch, SOLR-2548.patch
> Add multithreading support for faceting.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

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

View raw message