Thank you for the link Camen,

It is a great help.

Have a nice day

Regards
Eric


On Fri, May 7, 2010 at 5:13 PM, caman <aboxfortheotherst...@gmail.com>wrote:

>
> I would just look at SOLR source code and see how standard search handler
> and dismaxSearchHandler are implemented.
>
> Look under package 'org.apache.solr.
> <
> http://hudson.zones.apache.org/hudson/job/Solr-trunk/clover/org/apache/solr
> /handler/pkg-summary.html<http://hudson.zones.apache.org/hudson/job/Solr-trunk/clover/org/apache/solr%0A/handler/pkg-summary.html>>
> handler'
>
>
>
>
>
>
>
> From: Eric Grobler [via Lucene]
> [mailto:ml-node+783212-2036924225-124...@n3.nabble.com<ml-node%2b783212-2036924225-124...@n3.nabble.com>
> ]
> Sent: Friday, May 07, 2010 1:33 AM
> To: caman
> Subject: Re: Embedded Solr search query
>
>
>
> 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 <[hidden email]>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:[hidden email]<[hidden email]>
> > ]
> > 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-tp78315
> 0p78315%0A0.html<http://lucene.472066.n3.nabble.com/Embedded-Solr-search-query-tp78315%0A0p78315%0A0.html>
> >
> > To start a new topic under Solr - User, email
> > [hidden email]<[hidden email]>
> > 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-tp783150p78315
> 6.html<http://lucene.472066.n3.nabble.com/Embedded-Solr-search-query-tp783150p78315%0A6.html>
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
>
>
>   _____
>
> View message @
>
> http://lucene.472066.n3.nabble.com/Embedded-Solr-search-query-tp783150p78321
> 2.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-tp783150p784098.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to