Re: Termscomponent sort question

2011-05-26 Thread antonio
Hi Dmitry Kan, thanks for your anwser.
This is an idea, but i think that will be not so performing. Because if the
terms are 1000, i must reorder 1000 terms by own length, and i think the
time will be high for make autocomplete.

Don't you think?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2988872.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Termscomponent sort question

2011-05-26 Thread Dmitry Kan
Hi antonio,

can you explain a bit more, how exactly have you implemented the
autocomplete, is it with the terms component only? Does autocomplete operate
on letter or word level?
What does user type in for which the server returns both Rome and Near
Rome?

-- Dmitry

On Thu, May 26, 2011 at 5:11 PM, antonio antonio...@email.it wrote:

 Hi Dmitry Kan, thanks for your anwser.
 This is an idea, but i think that will be not so performing. Because if the
 terms are 1000, i must reorder 1000 terms by own length, and i think the
 time will be high for make autocomplete.

 Don't you think?

 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2988872.html
 Sent from the Solr - User mailing list archive at Nabble.com.




-- 
Regards,

Dmitry Kan


Re: Termscomponent sort question

2011-05-25 Thread antonio
No one has an idea?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2983776.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Termscomponent sort question

2011-05-25 Thread antonio
Help me please...

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Termscomponent-sort-question-tp2980683p2986185.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Termscomponent sort question

2011-05-25 Thread Dmitry Kan
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


Termscomponent sort question

2011-05-24 Thread antonio
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.