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

MatchAllDocsQuery.toString(String field) does not honor the javadoc contract

    Details

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

      Description

      Should be

      public String toString(String field){
      return ":";
      }

      QueryParser needs to be able to parse the String form of this query.

        Attachments

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              john.wang@gmail.com John Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: