Hi antonio,

Can you sort yourself on client side?

Are you trying to sort the terms with the same count in reverse order of
their lengths?

On Tue, May 24, 2011 at 8:18 PM, antonio <antonio...@email.it> wrote:

> Hi, i use solr 3.1.
> I implemented my autocomplete with TermsComponent. I'm finding, if there
> is,
> a way to sort my finding terms by score.
> Example, i there are two terms: "Rome" and "Near Rome", that have the same
> count (that is 1), i would that "Rome" will be before "Near Rome".
> Because count is the same, if i use index as sort, "Near Rome" is
> "lexically" before "Rome".
>
> Is there a way to use score like in dismax for termscomponents? Using
> dismax, for example, if i search "Rome", the word "Rome" has max score than
> "Near Rome". I would the same behavior with TermComponent.
>
> Is it possible?
>
> Thanks.
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2980683.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Regards,

Dmitry Kan

Reply via email to