lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Campbell (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-2848) DisjunctionMaxQuery toString uses single pipe to join sub terms
Date Wed, 05 Jan 2011 18:42:49 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message