Subject: Solr numFound > 0 but doc list empty in Solr Cloud setup


One more point:
In cloud mode: If I submit a request with fl=id, it returns doc list. But when I add any other field, I get an empty doc list.

http://localhost:9999/solr/select?q=domain:ebay&wt=json&shards=http://localhost:9999/solr/&fl=id&rows=1

{
responseHeader: {
status: 0,
QTime: 7,
params: {
fl: "id",
shards: "http://localhost:9999/solr/",
q: "domain:ebay",
wt: "json",
rows: "1"
}
},
response: {
numFound: 17,
start: 0,
maxScore: 3.8559604,
docs: [
{
id: "d8406557-6cd8-46d9-9a5e-29844387afc4"
}
]
}
}
Note: all of above works in single core mode.

On Friday, January 16, 2015 12:13 PM, Jaikit Savla <[EMAIL PROTECTED]LID> wrote:
As I said earlier - single core set up works fine with same solrconfig.xml and schema.xml

cd example
java -Djetty.port=9999 -Dsolr.data.dir=/index/path -jar start.jar

I am running Solr-4.10. Do I need to change any other configuration for running in solr cloud mode ?
On Friday, January 16, 2015 11:56 AM, Jaikit Savla <[EMAIL PROTECTED]LID> wrote:
Verified that all my fields are stored and marked as indexed.
<field name="body"    type="string" indexed="true"  stored="true" multiValued="true" />

-->
http://localhost:9999/solr/collection1/query?q=body%3A%22from%22&wt=json&indent=true&shards=http://localhost:9999/solr/collection1&start=1&rows=10&shards.info=true

{
responseHeader: {
status: 0,
QTime: 19,
params: {
shards: "http://localhost:9999/solr/collection1",
indent: "true",
start: "1",
q: "body:"from"",
shards.info: "true",
wt: "json",
rows: "10"
}
},
shards.info: {
http://localhost:9999/solr/collection1: {
numFound: 1717,
maxScore: 0.5327856,
shardAddress: "http://localhost:9999/solr/collection1",
time: 12
}
},
response: {
numFound: 1707,
start: 1,
maxScore: 0.5327856,
docs: [ ]
}
}
On Friday, January 16, 2015 9:56 AM, Erick Erickson <[EMAIL PROTECTED]> wrote:
Any chance that you've defined &rows=0 in your handler? Or is it possible
that you have not set stored="true" for any of your fields?

Best,
Erick
On Fri, Jan 16, 2015 at 9:46 AM, Jaikit Savla
<[EMAIL PROTECTED]lid> wrote: