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:30:55 UTC

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

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


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


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

Posted by "Edward Drapkin (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-2440.
----------------------------------------

    Fix Version/s: 3.1
                   4.0
       Resolution: Fixed

Thanks Edward!

> 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
>             Fix For: 3.1, 4.0
>
>         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


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

Posted by "Earwin Burrfoot (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ 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