Lucene - Core
  1. Lucene - Core
  2. LUCENE-2440

Add support for custom ExecutorServices in ParallelMultiSearcher

    Details

    • Lucene Fields:
      New, Patch Available

      Description

      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.

      1. LUCENE-2440.patch
        2 kB
        Edward Drapkin

        Activity

        Hide
        Grant Ingersoll added a comment -

        Bulk close for 3.1

        Show
        Grant Ingersoll added a comment - Bulk close for 3.1
        Hide
        Michael McCandless added a comment -

        Thanks Edward!

        Show
        Michael McCandless added a comment - Thanks Edward!
        Hide
        Michael McCandless added a comment -

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

        Show
        Michael McCandless added a comment - Patch looks great; I'll commit Edward – thanks!
        Hide
        Earwin Burrfoot added a comment -

        +1

        Show
        Earwin Burrfoot added a comment - +1
        Hide
        Edward Drapkin added a comment -

        Patch to added ticketed support.

        Show
        Edward Drapkin added a comment - Patch to added ticketed support.

          People

          • Assignee:
            Unassigned
            Reporter:
            Edward Drapkin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development