You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by ka...@nokia.com on 2010/08/04 20:27:29 UTC

Setting default query parser via solrconfig.xml

Folks,

Now that I've developed some infrastructure for multiple queries in a single request, I'm running into some downstream issues where design that worked OK on a single-query-per-request basis now makes less sense.

One specific case is when each query in the sequence needs to use a different query parser plug-in.  While you are apparently allowed to override the default query parser selection as an argument to the search request ("defType=xxx"), I see no way to select the default query parser for the QueryComponent search component in solrconfig.xml.  Perhaps this is because an instance of QueryComponent named "query" is registered by default?  At any rate, do people agree that this is another reasonable piece of infrastructure to add?

Karl