RE: multiple queries in single request

2014-05-25 Thread Pavel Belenkovich
solr-user@lucene.apache.org Subject: Re: multiple queries in single request No, I was rejecting BOTH methods 1 and 2. I was suggesting a different method. I'll leave it to somebody else to describe the method so that it is easier to understand. -- Jack Krupansky -Original Message- From: Pavel B

Re: multiple queries in single request

2014-05-22 Thread Jack Krupansky
-user@lucene.apache.org Subject: RE: multiple queries in single request Hi Jack! Thanx for the response! So you say that using method 2 below (single request with ORs and sorting results in client) is better than method 1 (separate requests)? regards, Pavel. -Original Message- From:

RE: multiple queries in single request

2014-05-22 Thread Pavel Belenkovich
Great, thanx Mikhail, I"ll try that out. regards, Pavel. -Original Message- From: Mikhail Khludnev [mailto:mkhlud...@griddynamics.com] Sent: Thursday, May 22, 2014 11:49 To: solr-user Subject: Re: multiple queries in single request Pavel, I suppose the benchmark matters, a

Re: multiple queries in single request

2014-05-22 Thread Mikhail Khludnev
eparate requests)? > > regards, > Pavel. > > > -Original Message- > From: Jack Krupansky [mailto:j...@basetechnology.com] > Sent: Thursday, May 22, 2014 01:26 > To: solr-user@lucene.apache.org > Subject: Re: multiple queries in single request > > Nothing special for

RE: multiple queries in single request

2014-05-22 Thread Pavel Belenkovich
, 2014 01:26 To: solr-user@lucene.apache.org Subject: Re: multiple queries in single request Nothing special for this use case. This seems to be a use case that I would call "bulk data retrieval - based on ID". I would suggest "batching" your requests - limit each request quer

Re: multiple queries in single request

2014-05-21 Thread Jack Krupansky
Nothing special for this use case. This seems to be a use case that I would call "bulk data retrieval - based on ID". I would suggest "batching" your requests - limit each request query to, say, 50 or 100 IDs. -- Jack Krupansky -Original Message- From: Pavel Belenkovich Sent: Wed

Re: Multiple queries in single request

2009-03-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
But it is still possible to have a RequestHandler (Say BatchRequestHandler ) which can take in multiple queries . say bc.q.count=3 bc.1.q=[(+a +b) ] bc.2.q=[(+a +c)] bc.3.q=[(+a+ d)] The response may contain several sections ...output one 1.q goes here ...output of 2.q goes here ..

Re: Multiple queries in single request

2009-03-07 Thread Shalin Shekhar Mangar
On Sat, Mar 7, 2009 at 4:06 AM, Ryan McKinley wrote: > >>> No but you can always fire three requests. Writing your own handler which >>> prints data in a custom format means that you can no longer use existing >>> solr clients for java/ruby/python etc. >>> >> >> That's not a fair characterization

Re: Multiple queries in single request

2009-03-06 Thread Ryan McKinley
No but you can always fire three requests. Writing your own handler which prints data in a custom format means that you can no longer use existing solr clients for java/ruby/python etc. That's not a fair characterization of at least the Ruby client. The NamedList (err, Hash in Ruby) is

RE: Multiple queries in single request

2009-03-06 Thread Brian Knoth
-user@lucene.apache.org Subject: Re: Multiple queries in single request If you're only after the count for those queries, use a standard request with a bunch of facet.query's. Erik On Mar 6, 2009, at 3:12 PM, Brian Knoth wrote: > Thanks for your comment. Yes, it would be simpl

Re: Multiple queries in single request

2009-03-06 Thread Erik Hatcher
eciate hearing them. Thanks, Brian -Original Message- From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: Friday, March 06, 2009 2:55 PM To: solr-user@lucene.apache.org Subject: Re: Multiple queries in single request On Sat, Mar 7, 2009 at 12:27 AM, Brian Knoth wrote:

Re: Multiple queries in single request

2009-03-06 Thread Erik Hatcher
On Mar 6, 2009, at 2:55 PM, Shalin Shekhar Mangar wrote: On Sat, Mar 7, 2009 at 12:27 AM, Brian Knoth wrote: Apologies up front if this is a often-asked newbie question, but I've searched the solrhandler docs and I can't find what I'm interested in. I'd like to be able to present multip

Re: Multiple queries in single request

2009-03-06 Thread Shalin Shekhar Mangar
On Sat, Mar 7, 2009 at 1:42 AM, Brian Knoth wrote: > Thanks for your comment. Yes, it would be simple if it was just 3 queries, > I really have about 50-60 I'd like to consolidate as a single request. I'm > simply getting a count of records for each query, and right now, it takes > about 40mS for

RE: Multiple queries in single request

2009-03-06 Thread Brian Knoth
org Subject: Re: Multiple queries in single request On Sat, Mar 7, 2009 at 12:27 AM, Brian Knoth wrote: > Apologies up front if this is a often-asked newbie question, but I've > searched the solrhandler docs and I can't find what I'm interested in. > > I'd like to

Re: Multiple queries in single request

2009-03-06 Thread Shalin Shekhar Mangar
On Sat, Mar 7, 2009 at 12:27 AM, Brian Knoth wrote: > Apologies up front if this is a often-asked newbie question, but I've > searched the solrhandler docs and I can't find what I'm interested in. > > I'd like to be able to present multiple queries to SOLR, for example: > > [(+a +b) ] > [(+a +c)]