Re: Can query boosting be used with a custom request handlers?

2010-06-24 Thread Chris Hostetter
: Maybe this helps: : http://wiki.apache.org/solr/SolrPlugins#QParserPlugin Right ... from the point of view of a custom RequestHandler (or SearchComponent) they key is to follow the model used by QueryComponent and use QParser.getParser(...) to deal with parsing query strings. Then all of

Re: Can query boosting be used with a custom request handlers?

2010-06-21 Thread Marc Sturlese
Maybe this helps: http://wiki.apache.org/solr/SolrPlugins#QParserPlugin -- View this message in context: http://lucene.472066.n3.nabble.com/Can-query-boosting-be-used-with-a-custom-request-handlers-tp884499p912691.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Can query boosting be used with a custom request handlers?

2010-06-21 Thread John Wang
Thanks Marc! -John On Mon, Jun 21, 2010 at 2:08 PM, Marc Sturlese marc.sturl...@gmail.comwrote: Maybe this helps: http://wiki.apache.org/solr/SolrPlugins#QParserPlugin -- View this message in context: http://lucene.472066.n3.nabble.com/Can-query-boosting-be-used-with-a-custom-request

Re: Can query boosting be used with a custom request handlers?

2010-06-18 Thread John Wang
Hi Chris: Can you please elaborate on how to use the QParser framework? Thanks! -John On Fri, Jun 11, 2010 at 10:56 AM, Chris Hostetter hossman_luc...@fucit.orgwrote: : So it's possible to use both dismax and custom request handler in the same query? it *really* depends on the

Re: Can query boosting be used with a custom request handlers?

2010-06-11 Thread Erik Hatcher
Can't answer this one definitively, as it would depend on what the request handler itself does with the q parameter. Is this using Solr's standard QueryComponent underneath? I don't know currently. But it is entirely up to the request handler on how parameters are handled.

Re: Can query boosting be used with a custom request handlers?

2010-06-11 Thread Chris Hostetter
: So it's possible to use both dismax and custom request handler in the same query? it *really* depends on the request handler ... if it uses the QParser framework for query parsing, then yes it should work fine -- but the request handler has to be written to work that way. -Hoss

Re: Can query boosting be used with a custom request handlers?

2010-06-10 Thread Bill Au
You can use the defType param ni the boost local params to use a different handler. Here is an example for using dismax: {!boost b=log(popularity) defType=dismax}foo I do this with a custom handler that I have implemented fro my app. Bill On Wed, Jun 9, 2010 at 11:37 PM, Andy

Re: Can query boosting be used with a custom request handlers?

2010-06-10 Thread Andy
wrote: From: Bill Au bill.w...@gmail.com Subject: Re: Can query boosting be used with a custom request handlers? To: solr-user@lucene.apache.org Date: Thursday, June 10, 2010, 11:15 AM You can use the defType param ni the boost local params  to use a different handler.  Here is an example

Can query boosting be used with a custom request handlers?

2010-06-09 Thread Andy
I want to try out the bobo plugin for Solr, which is a custom request handler (http://code.google.com/p/bobo-browse/wiki/SolrIntegration). At the same time I want to use BoostQParserPlugin to boost my queries, something like {!boost b=log(popularity)}foo Can I use the {!boost} feature in