lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2440) Add support for custom ExecutorServices in ParallelMultiSearcher
Date Wed, 19 May 2010 18:53:55 GMT

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

Michael McCandless commented on LUCENE-2440:
--------------------------------------------

Patch looks great; I'll commit Edward -- thanks!

> 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


Mime
View raw message