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
el Belenkovich Sent: Wednesday, May 21, 2014 1:07 PM To: solr-user@lucene.apache.org Subject: multiple queries in single request Hi, I have list of 1000 values for some field which is sort of id (essentially unique between documents) (let's say firstname_lastmane). I need to get the document f

multiple queries in single request

2014-05-21 Thread Pavel Belenkovich
Hi, I have list of 1000 values for some field which is sort of id (essentially unique between documents) (let's say firstname_lastmane). I need to get the document for each id (to know which document is for which id, not just list of responses). Is there some support for multiple queries in sin

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)]

Multiple queries in single request

2009-03-06 Thread Brian Knoth
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)] [(+a+ d)] And get back a multi-result set (one for each query).