I was looking for answer to the same question, and have similar concern. Looks 
like any serious customization work requires developing custom SearchComponent, 
but it's not clear to me how Solr designer wanted this to be done. I have more 
confident to either do it at Lucene level, or stay on client side and using 
something like Multi-core (as discussed here 
http://wiki.apache.org/solr/MultipleIndexes).


 
> Date: Wed, 20 May 2009 13:47:20 -0400
> Subject: RE: Creating a distributed search in a searchComponent
> From: nicholas.bai...@rackspace.com
> To: solr-user@lucene.apache.org
> 
> It seems I sent this out a bit too soon. After looking at the source it seems 
> there are two seperate paths for distributed and regular queries, however the 
> prepare method for for all components is run before the shards parameter is 
> checked. So I can build the shards portion by using the prepare method of the 
> my own search component. 
> 
> However I'm not sure if this is the greatest idea in case solr changes at 
> some point.
> 
> -Nick
> 
> -----Original Message-----
> From: "Nick Bailey" <nicholas.bai...@rackspace.com>
> Sent: Wednesday, May 20, 2009 1:29pm
> To: solr-user@lucene.apache.org
> Subject: Creating a distributed search in a searchComponent
> 
> Hi,
> 
> I am wondering if it is possible to basically add the distributed portion of 
> a search query inside of a searchComponent.
> 
> I am hoping to build my own component and add it as a first-component to the 
> StandardRequestHandler. Then hopefully I will be able to use this component 
> to build the "shards" parameter of the query and have the Handler then treat 
> the query as a distributed search. Anyone have any experience or know if this 
> is possible?
> 
> Thanks,
> Nick
> 
> 
> 

_________________________________________________________________
Hotmail® has ever-growing storage! Don’t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009

Reply via email to