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

Statistics from ValueSourceQuery

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 2.2
    • 4.9, 6.0
    • core/search
    • None
    • New, Patch Available

    Description

      Patch forthcoming that adds a DocValuesStats object that is optionally computer for a ValueSourceQuery. This ~replaces the getMin/Max/Avg from the DocValues which were previously unaccessible without reasonably heavy subclassing. in addition it add a few more stats and provides a single object to encapsulate all statistics going forward. The stats object is tied to the ValueSourceQuery so that the values can be cached without having to maintain the full set of DocValues. Test and javadocs included.

      • will

      Attachments

        1. functionStats.patch
          9 kB
          Will Johnson

        Issue Links

          Activity

            People

              Unassigned Unassigned
              willjohnson3 Will Johnson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: