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 QueryParser.jj
Date Thu, 23 Jan 2003 02:03:56 GMT
otis        2003/01/22 18:03:55

  Modified:    src/java/org/apache/lucene/queryParser QueryParser.jj
  Log:
  - Cosmetics.
  
  Revision  Changes    Path
  1.25      +2 -2      jakarta-lucene/src/java/org/apache/lucene/queryParser/QueryParser.jj
  
  Index: QueryParser.jj
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/queryParser/QueryParser.jj,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- QueryParser.jj	23 Jan 2003 01:28:48 -0000	1.24
  +++ QueryParser.jj	23 Jan 2003 02:03:55 -0000	1.25
  @@ -535,8 +535,8 @@
         }
         catch (Exception ignored) { }
   
  -      // could happen with boosted stopword
  -      if(q != null) {
  +      // avoid boosting null queries, such as those caused by stop words
  +      if (q != null) {
           q.setBoost(f);
         }
       }
  
  
  

--
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