lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From caman <>
Subject RE: Embedded Solr search query
Date Fri, 07 May 2010 08:05:25 GMT

Why not write a custom request handler which can parse, split, execute and
combine results to your queries?




From: Eric Grobler [via Lucene]
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 
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 


View message @
To start a new topic under Solr - User, email 
To unsubscribe from Solr - User, click
< (link removed) 
GZvcnRoZW90aGVyc3R1ZmZAZ21haWwuY29tfDQ3MjA2OHwtOTM0OTI1NzEx>  here. 


View this message in context:
Sent from the Solr - User mailing list archive at

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