Details

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

      Description

      spinoff from LUCENE-3290, where yonik mentioned:

      Is there currently a way to get the number of documents that have a value in the field?
      Then one could compute the average length of a (sparse) field via sumTotalTermFreq(field)/docsWithField(field)
      docsWithField(field) would be useful in other contexts that want to know how sparse a field is (automatically selecting faceting algorithms, etc).
      

      I think this is a useful stat to add, in case you have sparse fields for heuristics or scoring.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development