A request handler can have first-components and last-components and also just plain components. List all your stuff in components and voila. Don't forget to also add debug, facet and other default components if you need them.
> Le 8 mars 2011 à 23:03, Chris Hostetter a écrit : > > : in my schema I have > > > > First off, a bit of terminoligy clarification: Search COmponents are > > declarred in the solrconfig.xml file. schema.xml is where you define > > what, inherently, the data in your index *is*. solrocnfig.xml is where > > you define how you want people to be able to interact with the data in > > your index. > > Sorry, this is absolutely true. I should have said "in my config". > > > : Formulated, differently, my question is whether > > : - search-components can be defined by name within the requestHandler > > : element of the schema - or whether a differently named query > > : search-component would still be used as query-component > > > > yes, and yes. > > > > SearchHandler refrences Search Components by name, using the component > > list it is configured with. So you can leave the name "query" for the > > default instance of QueryComponent and then give your custom component > > it's own name, and refer to it by name when configuring the > > SearchHandler's you want to use it... > > So how do I define, for a given request-handler, a special query component? > I did not find in this in the schema. > > paul