You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by cu...@apache.org on 2004/02/25 23:17:41 UTC

cvs commit: jakarta-lucene/src/java/org/apache/lucene/search Sort.java

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