Hi,

That looks about right, but I don't know without checking around if debug 
component really needs query component, or if it can work with just terms 
component.
Have you tried it?  Did it not work?

You may save yourself a lot of work and get something better than terms 
component with http://sematext.com/products/autocomplete/index.html btw.  Or if 
you are using Solr trunk, with Suggester.

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: cyang2010 <ysxsu...@hotmail.com>
> To: solr-user@lucene.apache.org
> Sent: Mon, May 2, 2011 6:57:49 PM
> Subject: How to debug if termsComponent is used
> 
> Hi, I defined a searchHanlder just for the sake of autosuggest,  using
> TermsComponent.
> 
>   <searchComponent  name="terms"
> class="org.apache.solr.handler.component.TermsComponent"  >
>   </searchComponent>
> 
> 
>   <requestHandler  name="/terms"
> class="org.apache.solr.handler.component.SearchHandler">
>      <lst name="defaults">
>       <str  name="echoParams">explicit</str>
>      </lst>
> 
>     <arr name="components">
>        <str>terms</str>
>        <str>debug</str>
>     </arr>
>   
> 
> This configuration might not even make sense, to configure "terms"  and
> "debug" component together.  Is "debug" component must be wired up  with
> "query" component?   I just need a requestHanlder where i can  run
> termsComponent, and debug on it.  How do I achieve  that?
> 
> Thanks,
> 
> cy
>    </requestHandler>
> 
> --
> View this message in context: 
>http://lucene.472066.n3.nabble.com/How-to-debug-if-termsComponent-is-used-tp2891735p2891735.html
>
> Sent  from the Solr - User mailing list archive at Nabble.com.
> 

Reply via email to