Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      In Searchable.java, the javadoc for maxdoc() is:

      /** Expert: Returns one greater than the largest possible document number.

      • Called by search code to compute term weights.
      • @see org.apache.lucene.index.IndexReader#maxDoc()

      The qualification "expert" and the statement "called by search code to compute term weights" is a bit confusing, It implies that maxdoc() somehow computes weights, which is obviously not true (what it does is explained in the other sentence). Maybe it is used as one factor of the weight, but do we really need to mention this here?

        Activity

        Nadav Har'El created issue -
        Mark Miller made changes -
        Field Original Value New Value
        Assignee Mark Miller [ markrmiller@gmail.com ]
        Mark Miller made changes -
        Attachment LUCENE-1900.patch [ 12418944 ]
        Mark Miller made changes -
        Fix Version/s 2.9 [ 12312682 ]
        Mark Miller made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Lucene Fields [New] [New, Patch Available]
        Resolution Fixed [ 1 ]
        Mark Miller made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12476351 ] Default workflow, editable Closed status [ 12563864 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12563864 ] jira [ 12584492 ]

          People

          • Assignee:
            Mark Miller
            Reporter:
            Nadav Har'El
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development