lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r805268 - /lucene/java/trunk/src/test/org/apache/lucene/search/TestQueryWrapperFilter.java
Date Tue, 18 Aug 2009 03:48:44 GMT
Author: markrmiller
Date: Tue Aug 18 03:48:44 2009
New Revision: 805268

URL: http://svn.apache.org/viewvc?rev=805268&view=rev
Log:
update javadocs to match Lucene's def of primitive Query types

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/search/TestQueryWrapperFilter.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/search/TestQueryWrapperFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/search/TestQueryWrapperFilter.java?rev=805268&r1=805267&r2=805268&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/search/TestQueryWrapperFilter.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/search/TestQueryWrapperFilter.java Tue Aug
18 03:48:44 2009
@@ -32,7 +32,7 @@
     TopDocs hits = searcher.search(new MatchAllDocsQuery(), qwf, 10);
     assertEquals(1, hits.totalHits);
 
-    // should not throw exception with non primitive query
+    // should not throw exception with complex primitive query
     BooleanQuery booleanQuery = new BooleanQuery();
     booleanQuery.add(termQuery, Occur.MUST);
     booleanQuery.add(new TermQuery(new Term("field", "missing")),
@@ -42,8 +42,8 @@
     hits = searcher.search(new MatchAllDocsQuery(), qwf, 10);
     assertEquals(1, hits.totalHits);
 
-    // should not throw exception with Query that doesn't implement
-    // Query#createWeight
+    // should not throw exception with non primitive Query (doesn't implement
+    // Query#createWeight)
     qwf = new QueryWrapperFilter(new FuzzyQuery(new Term("field", "valu")));
 
     hits = searcher.search(new MatchAllDocsQuery(), qwf, 10);



Mime
View raw message