Re: Multiple Queries per request

2018-10-02 Thread Walter Underwood
Have a middle tier that does all the queries and returns combined results. Or do all the queries simultaneously, like AJAX. I think it is still true with SolrJ that async, parallel queries to Solr are easy. Send each request, but don’t read the response. When you are done sending requests, star

Re: Multiple Queries per request

2018-10-02 Thread David Hastings
perhaps you could do an OR query with the two requirements, and sort by an identifier that makes each result set unique from the other On Tue, Oct 2, 2018 at 11:05 AM Greenhorn Techie wrote: > Shamik, > > Wondering how to get this working? As I mentioned, my data is different for > each of the w

Re: Multiple Queries per request

2018-10-02 Thread Greenhorn Techie
Shamik, Wondering how to get this working? As I mentioned, my data is different for each of the wizards. So not sure how to "return all the necessary data at one shot and group them” Any particular inputs? Thanks On 2 October 2018 at 15:47:50, Shamik Sinha (shamikchand...@gmail.com) wrote: Th

Re: Multiple Queries per request

2018-10-02 Thread Shamik Sinha
The Solr uses REST based calls which is done over http or https which cannot handle multiple requests at one shot. However what you can do is return all the necessary data at one shot and group them according to your needs. Thanks and regards, Shamik On 02-Oct-2018 8:11 PM, "Greenhorn Techie" wr

Re: Multiple Queries per request

2018-10-02 Thread Alexandre Rafalovitch
You should not be exposing Solr publicly to the production client unless you really, really know how to do security hardening. Normally, treat it more like a database. So, most of the cases, you would have an actual server app that talks to Solr behind the scenes. That gives you more flexibility t

Multiple Queries per request

2018-10-02 Thread Greenhorn Techie
Hi, We are building a mobile app which would display results from Solr. At the moment, the idea is to have multiple widgets / areas on the mobile screen, with each area being served by a distinct Solr query. For example first widget would be display customer’s aggregated product usage, second widg