Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - two QueryHandler components in one schema?


Copy link to this message
-
Re: two QueryHandler components in one schema?
Paul Libbrecht 2011-03-08, 22:26
Erm,

did you, Hoss, not say that components are referred to by name?
How could the search result be read from the query mySpecialQueryComponent if it cannot be named? Simply through the pool of SolrParams?

If yes, that's the great magic of solr.

paul
Le 8 mars 2011 à 23:19, Chris Hostetter a écrit :

> ...so if you don't wnat to use "query" and you want to use
> "mySpecialQueryComponent" it would be ...
>
>   <arr name="components">
>     <str>mySpecialQueryComponent</str>
>     <str>facet</str>
>     <str>mlt</str>
>     <str>highlight</str>
>     <str>debug</str>
>   </arr>
>
> ...the SearchComponent URL i sent, as well as the
> example/solr/conf/solrconfig.xml file that ships with solr also has
> examples of how/when you can specify an explicit components list