lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Grobler <impalah...@googlemail.com>
Subject Re: Embedded Solr search query
Date Fri, 07 May 2010 08:32:21 GMT
Hi Camen,

I was hoping someone has done it already :-)
I am also new to Solr/lucene, can you perhaps point me to a request handler
example page?

Thanks and Regards
Eric

On Fri, May 7, 2010 at 9:05 AM, caman <aboxfortheotherstuff@gmail.com>wrote:

>
> 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-124354@n3.nabble.com<ml-node%2B783150-1027691461-124354@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<http://lucene.472066.n3.nabble.com/Embedded-Solr-search-query-tp783150p78315%0A0.html>
> To start a new topic under Solr - User, email
> ml-node+472068-464289649-124354@n3.nabble.com<ml-node%2B472068-464289649-124354@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.
>

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