i've written custom solr search component , added jar file solr. add component list of components executed when select search handler being used. looked @ <requesthandler name="/select" ...>
entry in solrconfig.xml
file, , noticed list of components empty: there no components entry under select requesthandler entry. list of components can't empty because there components being executed when select search handler being used: facet, debug, mlt, highlighting , maybe more. guess these components in component list default without being specified explicitly in configuration. how add custom component list without ruining it? have put in configuration file , where?
these components enabled default check searchcomponent
instead of adding defaults can add request handler
<requesthandler name="/select" class="solr.searchhandler"> <!-- add elevator component end of default list --> <arr name="last-components"> <str>custom-component</str> </arr> </requesthandler>
define search component in solrconfig.xml , can use refer presentation
Comments
Post a Comment