mirror of https://github.com/apache/lucene.git
- Cosmetics.
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149754 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c092af6cfa
commit
5f795440d4
|
@ -135,10 +135,10 @@ public class TestWildcard
|
|||
writer.addDocument(doc4);
|
||||
writer.optimize();
|
||||
IndexSearcher searcher = new IndexSearcher(indexStore);
|
||||
Query query1 = new WildcardQuery(new Term("body", "m?tal")); // 1
|
||||
Query query2 = new WildcardQuery(new Term("body", "metal?")); // 2
|
||||
Query query3 = new WildcardQuery(new Term("body", "metals?")); // 1
|
||||
Query query4 = new WildcardQuery(new Term("body", "m?t?ls")); // 3
|
||||
Query query1 = new WildcardQuery(new Term("body", "m?tal"));
|
||||
Query query2 = new WildcardQuery(new Term("body", "metal?"));
|
||||
Query query3 = new WildcardQuery(new Term("body", "metals?"));
|
||||
Query query4 = new WildcardQuery(new Term("body", "m?t?ls"));
|
||||
|
||||
Hits result;
|
||||
|
||||
|
|
Loading…
Reference in New Issue