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
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
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
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
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
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
Hello:
I'm interested in querying solr as a spark rdd. Has anyone used the
lucidworks code api https://github.com/lucidworks/spark-solr to issue
multiple queries? I'd like to have it execute multiple queries and
have the top n results be combined into one spark rdd for further
anal
lel ?
>
> I am not good at JAVA, is there any why to do that with built in solr
> component ?
>
> Thanks,
> Chunki.
>
>
> On Jul 10, 2014, at 11:53 PM, Jack Krupansky wrote:
>
>> How is "running multiple queries at the same time" different from runnin
Krupansky wrote:
> How is "running multiple queries at the same time" different from running
> them in parallel? So, why not just run them in parallel. I mean, Solr can
> accept simultaneous query requests just fine, so what's the issue here?
>
> IOW, put the logic in
How is "running multiple queries at the same time" different from running
them in parallel? So, why not just run them in parallel. I mean, Solr can
accept simultaneous query requests just fine, so what's the issue here?
IOW, put the logic in your application layer and use SOlr a
Hi,
Is there any way to run multiple queries at the same time?
situation is
1. when query in
2. check synonyms
3. get search results for all synonym queries and original query
even if, I can get search results by looping searcher but, as you know, it is
time consuming.
Thanks,
Chunki.
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
-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:
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
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
, 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
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
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 queri
ry to populate
> another fields. Can i do it?
>
> Thanks in advance.
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Can-i-execute-multiple-queries-to-populate-my-fields-tp4080072.html
> Sent from the Solr - User mailing list archive at Nabble.com.
execute a secondary query to populate
another fields. Can i do it?
Thanks in advance.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Can-i-execute-multiple-queries-to-populate-my-fields-tp4080072.html
Sent from the Solr - User mailing list archive at Nabble.com.
s1=f(query1)
> results2=f(query2, results1)
> final_results=f(query3, results2)
>
> I would like this to be accomplish using a program and end-user will only
> see 50 results. So faceting is not an option.
>
>
>
>
> --
> View this message in context:
> http
sults1)
final_results=f(query3, results2)
I would like this to be accomplish using a program and end-user will only
see 50 results. So faceting is not an option.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Multiple-queries-or-Filtering-Queries-in-Solr-tp4077574.html
Sen
ml'",
"query",
" SELECT id, b FROM a_table WHERE id = 'report-1358168401817.xml'",
"query",
" SELECT id, b FROM a_table WHERE id = 'report-1358168401817.xml'",
"time-taken",
"0:0:0.297",
"time-taken",
"0:0:0.297",
"time-taken",
"0:0:0.297",
"time-taken",
"0:0:0.297",
null,
"--- row #1-",
"ID",
"report-1358168401817.xml",
"B",
"some data",
"-",
null,
]
],
--
View this message in context:
http://lucene.472066.n3.nabble.com/solr-dih-does-multiple-queries-for-sub-entities-tp4044522p4044552.html
Sent from the Solr - User mailing list archive at Nabble.com.
[mailto:a.psczo...@pan-sonic.de]
Sent: Monday, March 04, 2013 8:49 AM
To: solr-user@lucene.apache.org
Subject: solr-dih does multiple queries for sub-entities
Hi,
I am trying to use the DIH for crawling over some xml-files and xpathing
them and then access a db with the filename as a key. That works, but
, then 2, 3, 4, ..
I tried different attributes combinations (eg stripped it to the minimum),
but still the same.
This problem was asked before:
http://lucene.472066.n3.nabble.com/DIH-multiple-queries-per-sub-entity-tt701038.html
thanks a lot!
regards
Arne
cumentation for this
feature apart from the mentioned blog post.
Thanks,
Nikhil
- Original Message -
From: Jonathan Rochkind
To: solr-user@lucene.apache.org; Nikhil Chhaochharia
Cc:
Sent: Tuesday, 17 May 2011 8:52 PM
Subject: Re: Set operations on multiple queries with different qf para
from the mentioned blog post.
Thanks,
Nikhil
- Original Message -
From: Jonathan Rochkind
To: solr-user@lucene.apache.org; Nikhil Chhaochharia
Cc:
Sent: Tuesday, 17 May 2011 8:52 PM
Subject: Re: Set operations on multiple queries with different qf parameters
One way to do it mig
One way to do it might be to use the Solr 'nested query' functionality.
http://www.lucidimagination.com/blog/2009/03/31/nested-queries-in-solr/
Not entirely sure this will work exactly as I've written it, but give
you some ideas of what nested query can do. Note not fully URL-encoded
for clar
Hi,
I am using Solr 3.1 with edismax. My frontend allows the user to create
arbitrarily complex queries by modifying q, fq, qf and mm (only 1 and 100% are
allowed) parameters. The queries can then be saved by the user.
The user should be able to perform set operations on the saved searches.
?
--
View this message in context:
http://n3.nabble.com/DIH-multiple-queries-per-sub-entity-tp701038p701038.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Tue, Jun 9, 2009 at 4:03 PM, Avlesh Singh wrote:
> I have an index with two fields - name and type. I need to perform a search
> on the name field so that *equal number of results are fetched for each
> type
> *.
> Currently, I am achieving this by firing multiple queries w
Tue, 09 Jun 2009 12:33:21 +0200, Avlesh Singh wrote:
>
> I have an index with two fields - name and type. I need to perform a
>> search
>> on the name field so that *equal number of results are fetched for each
>> type
>> *.
>> Currently, I am achieving this by f
pe. I need to perform a
search
on the name field so that *equal number of results are fetched for each
type
*.
Currently, I am achieving this by firing multiple queries with a
different
type and then merging the results.
In my database driven version, I used to do a "union" of m
I have an index with two fields - name and type. I need to perform a search
on the name field so that *equal number of results are fetched for each type
*.
Currently, I am achieving this by firing multiple queries with a different
type and then merging the results.
In my database driven version, I
Hi there Samnang!
Please see inline for comments:
On Tue, 09 Jun 2009 08:40:02 +0200, Samnang Chhun
wrote:
Hi all,
I just get started looking at using Solr as my search web service. But I
don't know does Solr have some features for multiple queries:
- Startswith
This is what we
Hi all,
I just get started looking at using Solr as my search web service. But I
don't know does Solr have some features for multiple queries:
- Startswith
- Exact Match
- Contain
- Doesn't Contain
- In the range
Could anyone guide me how to implement those features in Solr?
Cheers,
Samnang
ge-
From: Erick Erickson [mailto:erickerick...@gmail.com]
Sent: Tuesday, April 28, 2009 4:05 PM
To: solr-user@lucene.apache.org
Subject: Re: Multiple Queries
Have you considered indexing the reviews along with the hotels right
in the hotel index? That way you would fetch the reviews right al
re in
> the
> > review-doc itself, which seems like would lower down the performance
> > drastically.
> >
> > Any ideas on a better solution?
> >
> > Thanks!
> > -Ankush
> >
> > -Original Message-
> > From: Erick Erickson [mailt
e performance
> drastically.
>
> Any ideas on a better solution?
>
> Thanks!
> -Ankush
>
> -Original Message-
> From: Erick Erickson [mailto:erickerick...@gmail.com]
> Sent: Tuesday, April 28, 2009 4:05 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Multiple Qu
eas on a better solution?
Thanks!
-Ankush
-Original Message-
From: Erick Erickson [mailto:erickerick...@gmail.com]
Sent: Tuesday, April 28, 2009 4:05 PM
To: solr-user@lucene.apache.org
Subject: Re: Multiple Queries
Have you considered indexing the reviews along with the hotels right
in the ho
Have you considered indexing the reviews along with the hotels right
in the hotel index? That way you would fetch the reviews right along with
the hotels...
Really, this is another way of saying "flatten your data" ...
Your idea of holding all the hotel reviews in memory is also viable,
depending
Hi,
I have been trying to solve a performance issue: I have an index of hotels with
their ids and another index of reviews. Now, when someone queries for a
location, the current process gets all the hotels for that location.
And, then corresponding to each hotel-id from all the hotel documents,
Is it possible to do multiple queries in a single request, essentially
the equivalent of an SQL UNION?
--
Jonathan Haddad
http://www.rustyrazorblade.com
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
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
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
-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
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:
o 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). I don't see
that any
of the default, included search handlers provide this capability?
Is this possible, or would a custom handler need to be created.
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
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
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 e
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
I'd guess the latter would be faster, but who knows? Try it both ways.
--
Ian.
On 9/28/07, Xuesong Luo <[EMAIL PROTECTED]> wrote:
> Hi, there,
> I have a user index(each user has a unique index record). If I want to
> search 10 users, should I run 10 queries or 1 query with multiple user
> ids
Hi, there,
I have a user index(each user has a unique index record). If I want to
search 10 users, should I run 10 queries or 1 query with multiple user
ids? Is there any performance difference?
Thanks
Xuesong
Hi,
I have a user index(each user has a unique index record) and need to get
information for 10 users. Should I run 10 queries or 1 query with
multiple user ids? Any performance difference?
Thanks
Xuesong
56 matches
Mail list logo