lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aviran" <amo...@infosciences.com>
Subject RE: Making a get method for SortField[] fields; in the Sort object
Date Wed, 21 Jul 2004 14:43:45 GMT

=====================================================
diff -r1.7 Sort.java
215a216,224
>
>   /**
>    * Representation of the sort criteria
>    * @return Array of SortField objects used in this sort criteria
>    */
>   public SortField[] getSortFields()
>   {
>       return fields;
>   }
======================================================


-----Original Message-----
From: Doug Cutting [mailto:cutting@apache.org] 
Sent: Tuesday, July 20, 2004 15:50 PM
To: Lucene Developers List
Subject: Re: Making a get method for SortField[] fields; in the Sort object


This sounds reasonable to me.  Can you please send a diff, complete with 
javadoc, etc?

Aviran wrote:
> I'm have my own Collector and I would like to use the Sort object 
> within my collector, but SortField[] fields; is not accessible outside 
> Lucene's package. Can you please consider making a public getFields() 
> method in the Sort object so we can use it in our implementation?
>  
> I know I can change the code and recompile Lucene. But it would be 
> nice to use the standard implementation.
>  
> Aviran
> 

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