lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Grobler <impalah...@googlemail.com>
Subject Embedded Solr search query
Date Fri, 07 May 2010 08:00:48 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message