Re: Strange error with shards

2009-08-19 Thread Shalin Shekhar Mangar
On Wed, Aug 19, 2009 at 6:44 PM, ahammad wrote: > > Each core has a different database as a datasource, which means that they > have different DB structures and fields. That is why the schemas are > different. > > If all the shards should have the same schema, then what is the point of > > shar

Re: Strange error with shards

2009-08-19 Thread ahammad
Each core has a different database as a datasource, which means that they have different DB structures and fields. That is why the schemas are different. I figured out the cause of this problem. You were right, it was the uniqueKey field. All of my cores have that field set to "id" but for this n

Re: Strange error with shards

2009-08-19 Thread Shalin Shekhar Mangar
On Tue, Aug 18, 2009 at 9:01 PM, ahammad wrote: > HTTP Status 500 - null java.lang.NullPointerException at > > org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:437) > at > > The way I created this shard was to copy an existing one, erasing all the > data files/folders

Re: Strange error with shards

2009-08-19 Thread Licinio Fernández Maurelo
Looks like the index is corrupted, try restoring it 2009/8/18 ahammad : > > Hello, > > I have been using multicore/shards for the past 5 months or so with no > problems at all. I just added another core to my Solr server, but for some > reason I can never get the shards working when that specific