You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Earwin Burrfoot (JIRA)" <ji...@apache.org> on 2010/05/05 22:03:03 UTC

[jira] Commented: (LUCENE-2440) Add support for custom ExecutorServices in ParallelMultiSearcher

    [ https://issues.apache.org/jira/browse/LUCENE-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864477#action_12864477 ] 

Earwin Burrfoot commented on LUCENE-2440:
-----------------------------------------

+1

> Add support for custom ExecutorServices in ParallelMultiSearcher
> ----------------------------------------------------------------
>
>                 Key: LUCENE-2440
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2440
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 3.0.1
>         Environment: Any
>            Reporter: Edward Drapkin
>            Priority: Minor
>         Attachments: LUCENE-2440.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Right now, the ParallelMultiSearcher uses a cachedThreadPool, which is limitless and a poor choice for a web application, given the threaded nature of the requests (say a webapp with tomcat-default 200 threads and 100 indexes could be looking at 2000 searching threads pretty easily).  Support for adding a custom ExecutorService is pretty trivial.  Patch forthcoming.

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