You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Edward Drapkin (JIRA)" <ji...@apache.org> on 2010/05/04 00:32:55 UTC

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

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

Edward Drapkin updated LUCENE-2440:
-----------------------------------

    Attachment: LUCENE-2440.patch

Patch to added ticketed support.

> 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