Re: Term component sort is not working

2010-11-16 Thread Ahmet Arslan
> I am capturing all the user entered search terms in to the > database and the number of times the search term is > entered.Let us say > > "laptop" has entered 100 times. > "laptop bag" has entered 80 times. > "laptop battery" has entered 90 times. > > I am using terms component for auto suggest

Re: Term component sort is not working

2010-11-16 Thread sivaprasad
uot; is entered by more number of times it should come first in the result.In this case i need to utilize the WEIGHTAGE(the number times searched) for sorting. Regards, Siva -Original Message- From: "Erick Erickson [via Lucene]" Sent: Tuesday, November 16, 20

Re: Term component sort is not working

2010-11-16 Thread Erick Erickson
omponent.SearchHandler"> > > true > autoSuggestTerm > index > > > termsComponent > > > > And i have two fileds in schema file > > > > > Now iam trying to sort the terms which are returned by terms component &

Re: Term component sort is not working

2010-11-15 Thread sivaprasad
WEIGHTAGE field. -- View this message in context: http://lucene.472066.n3.nabble.com/Term-component-sort-is-not-working-tp1905059p1909386.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Term component sort is not working

2010-11-15 Thread Erick Erickson
Mon, Nov 15, 2010 at 12:31 PM, sivaprasad wrote: > > How can i utilize the weightage of terms which i captured from end user? > any > ideas > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Term-component-sort-is-not-working-tp1905059p1905958.html

Re: Term component sort is not working

2010-11-15 Thread sivaprasad
How can i utilize the weightage of terms which i captured from end user? any ideas -- View this message in context: http://lucene.472066.n3.nabble.com/Term-component-sort-is-not-working-tp1905059p1905958.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Term component sort is not working

2010-11-15 Thread Ahmet Arslan
> As part of terms component we have a parameter > terms.sort=index|count. > > If we put terms.sort=index, will be returns the terms in > index order. terms.sort=index means sort by lexicographic. Like normal dictionary.

Term component sort is not working

2010-11-15 Thread sivaprasad
the top WEIGHTAGE document will be first indexed.While returning it is not happening like that.How can i get the top weightage term first, in the result of the matched term? Regards, Siva -- View this message in context: http://lucene.472066.n3.nabble.com/Term-component-sort-is-not-working