lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search Sort.java
Date Wed, 25 Feb 2004 22:17:41 GMT
cutting     2004/02/25 14:17:41

  Modified:    src/java/org/apache/lucene/search Sort.java
  Log:
  Patch to sort code.
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-lucene/src/java/org/apache/lucene/search/Sort.java
  
  Index: Sort.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/Sort.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Sort.java	24 Feb 2004 19:34:58 -0000	1.2
  +++ Sort.java	25 Feb 2004 22:17:41 -0000	1.3
  @@ -145,7 +145,7 @@
   	public void setSort (String field, boolean reverse) {
   		SortField[] nfields = new SortField[]{
   			new SortField (field, SortField.AUTO, reverse),
  -			new SortField (field, SortField.DOC)
  +			SortField.FIELD_DOC
   		};
   		fields = nfields;
   	}
  
  
  

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