Hi,

I have given the terms component configuration.

<searchComponent name="termsComponent"
class="org.apache.solr.handler.component.TermsComponent"/>

  <requestHandler name="/autoSuggest"
class="org.apache.solr.handler.component.SearchHandler">
     <lst name="defaults">
      <bool name="terms">true</bool>
          <str name="terms.fl">autoSuggestTerm</str>     
          <str name="terms.sort">index</str>
    </lst>     
    <arr name="components">
      <str>termsComponent</str>
    </arr>
  </requestHandler>

And i have two fileds in schema file

<field name="autoSuggestTerm" type="string" indexed="true" stored="true"/>
 <field name="WEIGHTAGE" type="integer" stored="true"/>

Now iam trying to sort the terms which are returned by terms component based
on 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.

Reply via email to