lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/queryParser MultiFieldQueryParser.java
Date Fri, 22 Mar 2002 03:22:33 GMT
otis        02/03/21 19:22:33

  Modified:    src/java/org/apache/lucene/queryParser
                        MultiFieldQueryParser.java
  Log:
  - Changed 2 example queries in the javadoc to make them less confusing.
  
  Revision  Changes    Path
  1.2       +3 -3      jakarta-lucene/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java
  
  Index: MultiFieldQueryParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MultiFieldQueryParser.java	22 Feb 2002 20:59:11 -0000	1.1
  +++ MultiFieldQueryParser.java	22 Mar 2002 03:22:33 -0000	1.2
  @@ -66,7 +66,7 @@
    * A QueryParser which constructs queries to search multiple fields.
    *
    * @author <a href="mailto:kelvin@relevanz.com">Kelvin Tan</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class MultiFieldQueryParser extends QueryParser
   {
  @@ -96,7 +96,7 @@
        * 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 @@
        * The code above would construct a query:
        * <pre>
        * <code>
  -     * (filename:{query}) +(contents:{query}) -(description:{query})
  +     * (filename:query) +(contents:query) -(description:query)
        * </code>
        * </pre>
        *
  
  
  

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message