Re: Custom Request Handlers

2013-09-26 Thread Erick Erickson
; Hi, > > > I am new to solr Can anyone suggest me how can i write my own custom > handlers. Because i need to filter queries based on 4 to 5 conditions. > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Custom-Request-Ha

Custom Request Handlers

2013-09-25 Thread PAVAN
Hi, I am new to solr Can anyone suggest me how can i write my own custom handlers. Because i need to filter queries based on 4 to 5 conditions. -- View this message in context: http://lucene.472066.n3.nabble.com/Custom-Request-Handlers-tp4091936.html Sent from the Solr - User mailing

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

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 wrote: > > 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-custo

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-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 wrote: > > : 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

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-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. Erik

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

2010-06-10 Thread Andy
u wrote: > From: Bill Au > 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 ex

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 wrote: > I w

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 conj