RE:SORTING

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RE:SORTING

Kinnar Kumar Sen, Noida

Hi

I am indexing the price of some items in my index . I have quite a few
number of indexes. I want to sort the  items according to the price . is
there a way to include all the indexes at one go while sorting or I have
to do it one index at a time...

Cheers
KINNAR


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE:SORTING

Chris Hostetter-3

: I am indexing the price of some items in my index . I have quite a few
: number of indexes. I want to sort the  items according to the price . is
: there a way to include all the indexes at one go while sorting or I have
: to do it one index at a time...

I assume you are using a MultiSearcher, or perhaps a MultiReader? ...
either way you should be able to use the Searcher.search(Query,Sort)
method (or any of the other Searcher.search methods that take a Sort
parameter)



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]