You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Lee Chunki <lc...@coupang.com> on 2014/07/10 07:24:58 UTC
run multiple queries at the same time
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.
Re: run multiple queries at the same time
Posted by Alexandre Rafalovitch <ar...@gmail.com>.
There is no built-in component to do this kind of split. But there is
a SynonymFilter, which is shown in the example schema and, I think,
mentioned in the tutorial. Are you sure your needs are not covered by
that already?
Regards,
Alex.
Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency
On Fri, Jul 11, 2014 at 7:55 AM, Lee Chunki <lc...@coupang.com> wrote:
> Hi Jack Krupansky,
>
> Thank you for your answer.
>
> Yes, I meant that in parallel.
> so, do you mean I should build sold component to run them in parallel ?
>
> 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 <ja...@basetechnology.com> 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 your application layer and use SOlr as a streamlined "engine".
>>
>> -- Jack Krupansky
>>
>> -----Original Message----- From: Lee Chunki
>> Sent: Thursday, July 10, 2014 1:24 AM
>> To: solr-user@lucene.apache.org
>> Subject: run multiple queries at the same time
>>
>> 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.
>>
>
Re: run multiple queries at the same time
Posted by Lee Chunki <lc...@coupang.com>.
Hi Jack Krupansky,
Thank you for your answer.
Yes, I meant that in parallel.
so, do you mean I should build sold component to run them in parallel ?
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 <ja...@basetechnology.com> 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 your application layer and use SOlr as a streamlined "engine".
>
> -- Jack Krupansky
>
> -----Original Message----- From: Lee Chunki
> Sent: Thursday, July 10, 2014 1:24 AM
> To: solr-user@lucene.apache.org
> Subject: run multiple queries at the same time
>
> 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.
>
Re: run multiple queries at the same time
Posted by Jack Krupansky <ja...@basetechnology.com>.
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 as a streamlined
"engine".
-- Jack Krupansky
-----Original Message-----
From: Lee Chunki
Sent: Thursday, July 10, 2014 1:24 AM
To: solr-user@lucene.apache.org
Subject: run multiple queries at the same time
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.