Details

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

      Description

      (its a bug in a way, since we broke this, temporarily).

      There is no way to do this now (distributed IDF, etc) with the new API.

      But we should do it right:

      • having the sim ask the searcher for docfreq of a term is wasteful and dangerous,
        usually we have already seek'd to the term and already collected the 'raw' stuff.
      • the situation is more than just docfreq, because you should be able to implement
        distributed scoring for all of the new sim models (or your own), that use any
        of Lucene's stats.

        Issue Links

          Activity

          Hide
          Robert Muir added a comment -

          Attached is a patch. This is also nice since it removes the "SpoofIndexSearcher" the sim tests were using to simulate fake stats.

          Show
          Robert Muir added a comment - Attached is a patch. This is also nice since it removes the "SpoofIndexSearcher" the sim tests were using to simulate fake stats.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development