Re: Newbie Question on Custom Query Generation

2010-01-29 Thread Abin Mathew
Hi, I realized the power of Dismax Query Handler recently and now I dont need to generate my own query since Dismax is giving better results.Thanks a lot 2010/1/29 Wangsheng Mei : > What's the point of generating your own query? > Are you sure that solr query syntax cannot satisfy your need? > > 2

Re: Newbie Question on Custom Query Generation

2010-01-29 Thread Wangsheng Mei
What's the point of generating your own query? Are you sure that solr query syntax cannot satisfy your need? 2010/1/29 Abin Mathew > Hi I want to generate my own customized query from the input string entered > by the user. It should look something like this > > *Search field : Microsoft* > * >

Re: Newbie Question on Custom Query Generation

2010-01-29 Thread Erik Hatcher
dismax won't quite give you the same query result. What you can do pretty easily, though, is create a QParser and QParserPlugin pair, register it solrconfig.xml and then use &defType=. Pretty straightforward. Have a look at Solr's various QParserPlugin implementations for details.