- Changed 2 example queries in the javadoc to make them less confusing.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149716 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2002-03-22 03:22:33 +00:00
parent 55a0477891
commit 23389df13c
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ public class MultiFieldQueryParser extends QueryParser
* If x fields are specified, this effectively constructs:
* <pre>
* <code>
* ({field1}:{query}) ({field2}:{query}) ({field3}:{query})...({fieldx}:{query})
* (field1:query) (field2:query) (field3:query)...(fieldx:query)
* </code>
* </pre>
*
@ -137,7 +137,7 @@ public class MultiFieldQueryParser extends QueryParser
* The code above would construct a query:
* <pre>
* <code>
* (filename:{query}) +(contents:{query}) -(description:{query})
* (filename:query) +(contents:query) -(description:query)
* </code>
* </pre>
*