Ahh, LOL! I wouldn't have thought about that unless I were fixing the issues 
that you guys have worked on.


Dennis Gearon

Signature Warning
----------------
It is always a good idea to learn from your own mistakes. It is usually a 
better idea to learn from others’ mistakes, so you do not have to make them 
yourself. from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036'

EARTH has a Right To Life,
  otherwise we all die.


--- On Wed, 10/13/10, Jan Høydahl / Cominvent <jan....@cominvent.com> wrote:

> From: Jan Høydahl / Cominvent <jan....@cominvent.com>
> Subject: Re: LuceneRevolution - NoSQL: A comparison
> To: solr-user@lucene.apache.org
> Date: Wednesday, October 13, 2010, 3:32 PM
> You don't know what documents to
> bring up summaries for before you have merged and sorted the
> docIds from all shards. And you don't want to waste
> resources by fetching it all. Example:
> Phase 1 request: q=foo bar&rows=10&sort=price
> asc&shards=node1:8983,node2:8983,node3:8983
> Phase 1 response: The doc-ids of the 10 lowest prices
> products from each of the three shards (total 30)
> Phase 2 request: Request the summaries based on IDs. This
> may be 3+3+4, 10+0+0, 1+1+8 or any other distribution
> Phase 2 response: The actual summaries from each shard
> 
> --
> Jan Høydahl, search solution architect
> Cominvent AS - www.cominvent.com
> 
> On 13. okt. 2010, at 19.04, Dennis Gearon wrote:
> 
> > I think that's good thinking. I wonder, do the two
> phases have to be invoked externally by two queries, or why
> couldn't it be all self contained in each instance behind
> the load leveler?
> > 
> > Just curious how it works.
> > 
> > Dennis Gearon
> > 
> > Signature Warning
> > ----------------
> > It is always a good idea to learn from your own
> mistakes. It is usually a better idea to learn from
> others’ mistakes, so you do not have to make them
> yourself. from 
> 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036'
> > 
> > EARTH has a Right To Life,
> >  otherwise we all die.
> > 
> > 
> > --- On Wed, 10/13/10, Yonik Seeley <yo...@lucidimagination.com>
> wrote:
> > 
> >> From: Yonik Seeley <yo...@lucidimagination.com>
> >> Subject: Re: LuceneRevolution - NoSQL: A
> comparison
> >> To: solr-user@lucene.apache.org
> >> Date: Wednesday, October 13, 2010, 5:46 AM
> >> On Tue, Oct 12, 2010 at 12:11 PM, Jan
> >> Høydahl / Cominvent
> >> <jan....@cominvent.com>
> >> wrote:
> >>> I'm pretty sure the 2nd phase to fetch
> doc-summaries
> >> goes directly to same server as first phase. But
> what if you
> >> stick a LB in between?
> >> 
> >> A related point - the load balancing
> implementation that's
> >> part of
> >> SolrCloud (and looks like it will be committed to
> trunk
> >> soon), does
> >> keep track of what server it used for the first
> phase and
> >> uses that
> >> for subsequent phases.
> >> 
> >> -Yonik
> >> http://www.lucidimagination.com
> >> 
> 
>

Reply via email to