Re: Distributed search across Solr cores in a collection - NPE

2015-01-14 Thread Jaikit Savla
It was because I did not have unique id's in my index. I added that and it worked. Also it is mentioned as one of the requirement for Distributed Search. Thanks,Jaikit On Wednesday, January 14, 2015 1:53 AM, Jaikit Savla jaikit.sa...@yahoo.com wrote: Folks, I have set up 3 cores

Distributed search across Solr cores in a collection - NPE

2015-01-14 Thread Jaikit Savla
Folks, I have set up 3 cores in a single collection and they all have same schema but different index. I have set unique Id required field to false.field name=id type=string indexed=true stored=true required=false/ When I run query against single core, it works fine. But when I add the shard

Re: Distributed search across Solr cores in a collection - NPE

2015-01-14 Thread Mikhail Khludnev
Jaikit, uniq key is mandatory for distributed search. if most of your docs have ids assigned, you can drop remaining ones by adding something like ..fq=id:[* TO *] On Wed, Jan 14, 2015 at 12:53 PM, Jaikit Savla jaikit.sa...@yahoo.com.invalid wrote: Folks, I have set up 3 cores in a single