Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3636

make it possible to use searchermanager with distributed stats

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5, 4.0-ALPHA
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      LUCENE-3555 added explicit stats methods to indexsearcher, but you must
      subclass to override this (e.g. populate with distributed stats).

      Its also impossible to then do this with SearcherManager.

      One idea is make this a factory method (or similar) on IndexSearcher instead,
      so you don't need to subclass it to override.

      Then you can initialize this in a SearcherWarmer, except there is currently
      a lot of hair in what this warming should be. This is a prime example where
      Searcher has different meaning from Reader, we should clean this up.

      Otherwise, lets make NRT/SearcherManager subclassable in such a way that
      you can return a custom indexsearcher.

        Attachments

        1. LUCENE-3636.patch
          15 kB
          Robert Muir
        2. LUCENE-3636.patch
          18 kB
          Robert Muir
        3. LUCENE-3636.patch
          19 kB
          Michael McCandless
        4. LUCENE-3636.patch
          23 kB
          Robert Muir

          Activity

            People

            • Assignee:
              rcmuir Robert Muir
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: