lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r448454 - /lucene/java/trunk/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java
Date Thu, 21 Sep 2006 04:07:41 GMT
Author: otis
Date: Wed Sep 20 21:07:41 2006
New Revision: 448454

URL: http://svn.apache.org/viewvc?view=rev&rev=448454
Log:
- Small wording changes to make javadoc a bit easier to understand

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java?view=diff&rev=448454&r1=448453&r2=448454
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/DisjunctionMaxQuery.java Wed Sep 20
21:07:41 2006
@@ -25,9 +25,9 @@
 import java.util.Set;
 
 /**
- * A query that generates the union of the documents produced by its subqueries, and that
scores each document as the maximum
- * score for that document produced by any subquery plus a tie breaking increment for any
additional matching subqueries.
- * This is useful to search for a word in multiple fields with different boost factors (so
that the fields cannot be
+ * A query that generates the union of documents produced by its subqueries, and that scores
each document with the maximum
+ * score for that document as produced by any subquery, plus a tie breaking increment for
any additional matching subqueries.
+ * This is useful when searching for a word in multiple fields with different boost factors
(so that the fields cannot be
  * combined equivalently into a single search field).  We want the primary score to be the
one associated with the highest boost,
  * not the sum of the field scores (as BooleanQuery would give).
  * If the query is "albino elephant" this ensures that "albino" matching one field and "elephant"
matching



Mime
View raw message