mirror of https://github.com/apache/lucene.git
fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@895969 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
03a361c224
commit
fd8ff081ae
|
@ -59,7 +59,7 @@ import org.apache.lucene.util.ToStringUtils;
|
|||
* <pre>
|
||||
* SpanQuery q1 = new SpanTermQuery(new Term("studentfirstname", "james"));
|
||||
* SpanQuery q2 = new SpanTermQuery(new Term("studentsurname", "jones"));
|
||||
* SpanQuery q2m new FieldMaskingSpanQuery(q2, "studentfirstname");
|
||||
* SpanQuery q2m = new FieldMaskingSpanQuery(q2, "studentfirstname");
|
||||
* Query q = new SpanNearQuery(new SpanQuery[]{q1, q2m}, -1, false);
|
||||
* </pre>
|
||||
* to search for 'studentfirstname:james studentsurname:jones' and find
|
||||
|
|
Loading…
Reference in New Issue