Lucene - Core
  1. Lucene - Core
  2. LUCENE-3636

make it possible to use searchermanager with distributed stats

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major 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.

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development