I'd just put the data in the document. That way, you're not inferring anything, you *know* which shard (or even the logical shard) the data came from.
Does that make sense in your problem sace? Erick On Tue, Mar 22, 2011 at 3:20 PM, JohnRodey <timothydd...@yahoo.com> wrote: > I have an issue and I'm wondering if there is an easy way around it with just > SOLR. > > I have multiple SOLR servers and a field in my schema is a relative path to > a binary file. Each SOLR server is responsible for a different subset of > data that belongs to a different base path. > > For Example... > > My directory structure may look like this: > /someDir/Jan/binaryfiles/... > /someDir/Feb/binaryfiles/... > /someDir/Mar/binaryfiles/... > /someDir/Apr/binaryfiles/... > > Server1 is responsible for Jan, Server2 for Feb, etc... > > And a response document may have a field like this > my entry > binaryfiles/12345.bin > > How can I tell from my main search server which server returned a result? > I cannot put the full path in the index because my path structure might > change in the future. Using this example it may go to '/someDir/Jan2011/'. > > I basically need to find a way to say 'Ah! server01 returned this result, so > it must be in /someDir/Jan' > > Thanks! > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Architecture-question-about-solr-sharding-tp2716417p2716417.html > Sent from the Solr - User mailing list archive at Nabble.com. >