Hi Svein,
Yes we thought of sending parallell queries, but you still have the extra
network overhead.

Regards
Eric

On Fri, May 7, 2010 at 9:11 AM, Svein Parnas <sv...@trank.no> wrote:

> Or send the queries in parallell from the PHP script (use CURL).
>
> Svein
>
>
> 2010/5/7 caman <aboxfortheotherst...@gmail.com>:
> >
> > Why not write a custom request handler which can parse, split, execute
> and
> > combine results to your queries?
> >
> >
> >
> >
> >
> >
> >
> > From: Eric Grobler [via Lucene]
> > [mailto:ml-node+783150-1027691461-124...@n3.nabble.com<ml-node%2b783150-1027691461-124...@n3.nabble.com>
> ]
> > Sent: Friday, May 07, 2010 1:01 AM
> > To: caman
> > Subject: Embedded Solr search query
> >
> >
> >
> > Hello Solr community,
> >
> > When a user search on our web page, we need to run 3 related but
> different
> > queries.
> > For SEO reasons, we cannot use Ajax so at the moment we run 3 queries
> > sequentially inside a PHP script.
> > Allthough Solr is superfast,  the extra network overhead can make the 3
> > queries 400ms slower than it needs to be.
> >
> > Thus my question is:
> > Is there a way whereby you can send 1 query string to Solr with 2 or more
> > embedded search queries, where Solr will split and execute the queries
> and
> > return the results of the multiple searches in 1 go.
> >
> > In other words, instead of:
> > -  send searchQuery1
> >   get result1
> > -  send searchQuery2
> >   get result2
> > ...
> >
> > you run:
> > - send searchQuery1+searchQuery2
> > - get result1+result2
> >
> > Thanks and Regards
> > Eric
> >
> >
> >
> >  _____
> >
> > View message @
> >
> http://lucene.472066.n3.nabble.com/Embedded-Solr-search-query-tp783150p78315
> > 0.html
> > To start a new topic under Solr - User, email
> > ml-node+472068-464289649-124...@n3.nabble.com<ml-node%2b472068-464289649-124...@n3.nabble.com>
> > To unsubscribe from Solr - User, click
> > < (link removed)
> > GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx>  here.
> >
> >
> >
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/Embedded-Solr-search-query-tp783150p783156.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>

Reply via email to