> 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
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
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
&
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.
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
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.
> 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.
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