mirror of https://github.com/apache/lucene.git
- 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:
parent
55a0477891
commit
23389df13c
|
@ -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>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue