lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kelv...@apache.org
Subject cvs commit: jakarta-lucene-sandbox/contributions/javascript/queryConstructor luceneQueryConstructor.js
Date Tue, 04 Jan 2005 15:37:54 GMT
kelvint     2005/01/04 07:37:54

  Modified:    contributions/javascript/queryConstructor
                        luceneQueryConstructor.js
  Log:
  Fixed appending of groupModifier even when it is a NO_MODIFIER.
  
  Revision  Changes    Path
  1.12      +2 -1      jakarta-lucene-sandbox/contributions/javascript/queryConstructor/luceneQueryConstructor.js
  
  Index: luceneQueryConstructor.js
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/javascript/queryConstructor/luceneQueryConstructor.js,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- luceneQueryConstructor.js	7 Jun 2004 11:05:23 -0000	1.11
  +++ luceneQueryConstructor.js	4 Jan 2005 15:37:54 -0000	1.12
  @@ -190,6 +190,7 @@
     }
     else
     {
  +  	if(groupModifier == NO_MODIFIER) groupModifier = ''
       if(query.value.length == 0)
       {
         query.value = groupModifier + fieldName + ':(' + value + ')';
  
  
  

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


Mime
View raw message