On Wed, Jun 10, 2009 at 3:52 AM, Marc Sturlese <marc.sturl...@gmail.com> wrote:
> I use to have a HashDocSet in my own Solr SearchComponent. As HashDocSet is
> not used anymore in recent nightlies could I replace it for a
> SortedIntDocSet (it didn't exist yet when I create my search component).
> Does it make sense?

Yep.  Make sure the ids you pass are sorted.  I'll update the javadoc
for the class.

> And another thing... Is there anyway to get a set of internal document id's
> sorted by relevance without using a DocList,

Nope... DocSets are either unordered (HashDocSet) or ordered by the
internal docid - there's no way to record a different ordering.
That's what DocList is for.

-Yonik
http://www.lucidimagination.com

Reply via email to