DisjunctionMaxQuery toString uses single pipe to join sub terms
---------------------------------------------------------------

                 Key: LUCENE-2848
                 URL: https://issues.apache.org/jira/browse/LUCENE-2848
             Project: Lucene - Java
          Issue Type: Bug
          Components: Other
    Affects Versions: 3.0.3
            Reporter: George Campbell
            Priority: Minor


I'm not 100% sure because I'm relatively new to Lucene but I think this line in 
org.apache.lucene.search.DisjunctionMaxQuery.toString(String field) should be 
changed from
      if (i != numDisjunctions-1) buffer.append(" | ");
to
      if (i != numDisjunctions-1) buffer.append(" OR ");



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to