idden email]<http://user/SendEmail.jtp?type=node&node=2949011&i=1>
> >
> >
> > > -Original Message-
> > > From: shrinath.m [mailto:[hidden
> > > email]<http://user/SendEmail.jtp?type=node&node=2949011&i=2>]
>
> > &g
; > To: java-user@lucene.apache.org
> > Subject: Re: How do we reverse sort on the docid ?
> >
> >
> > Erick Erickson wrote:
> > >
> > > At any rate, I think all you need to do is specify the reverse boolean
> > > in the SortField c&
> -Original Message-
> From: shrinath.m [mailto:shrinat...@webyog.com]
> Sent: Monday, May 16, 2011 2:30 PM
> To: java-user@lucene.apache.org
> Subject: Re: How do we reverse sort on the docid ?
>
>
> Erick Erickson wrote:
> >
> > At any rate, I think all y
boolean sort field. So it is turned on, but look at
my original question, what I am getting is not what I desire. :(
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-do-we-reverse-sort-on-the-docid-tp2947495p2947629.html
Sent from the Lucene - Java U
can be on any field for that instance, the way it works is the
> same.
>
> so stress in the question is on how to do it, not which field I do it on...
>
> Apologies for not being clear in the question, I tried to keep it very
> simple, but failed to give essential info...
>
>
context:
http://lucene.472066.n3.nabble.com/How-do-we-reverse-sort-on-the-docid-tp2947495p2947572.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.a
:
> 999
> 998
> 997
> 996
> 995
>
>
> I am lucene sort object, and it is constructed like this :
> Sort srt = new Sort(new SortField(null,SortField.DOC,true));
>
> How do I get what I want ? Do I really need to use sort ?
>
> --
> View this me
what I want ? Do I really need to use sort ?
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-do-we-reverse-sort-on-the-docid-tp2947495p2947495.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
fixes).
-Yonik
On 11/28/05, Michael Pow <[EMAIL PROTECTED]> wrote:
> I'm trying to reverse sort a result set by it's date field (MMDDhhmm).
>
> pseudocode:
> Boolean order = {false | true};
> Sort sorter = new Sort(new SortField("date", order));
> hits =
I'm trying to reverse sort a result set by it's date field (MMDDhhmm).
pseudocode:
Boolean order = {false | true};
Sort sorter = new Sort(new SortField("date", order));
hits = indexSearcher.search(, , sorter);
When order = false, I correctly get the results sorted fro
10 matches
Mail list logo