Solr 4.3.1 - query does not return documents, just numFounds, 2 shards, replication Factor 1

2013-07-29 Thread Nitin Agarwal
Hi, I am using Solr 4.3.1 with 2 Shards and replication factor of 1, running on apache tomcat 7.0.42 with external zookeeper 3.4.5. When I query select?q=*:* I only get the number of documents found, but no actual document. When I query with rows=0, I do get correct count of documents in the

Re: Solr 4.3.1 - query does not return documents, just numFounds, 2 shards, replication Factor 1

2013-07-29 Thread Jason Hellman
Nitin, You need to ensure the fields you wish to see are marked stored=true in your schema.xml file, and you should include fields in your fl= parameter (fl=*,score is a good place to start). Jason On Jul 29, 2013, at 8:08 AM, Nitin Agarwal 2nitinagar...@gmail.com wrote: Hi, I am using Solr

Re: Solr 4.3.1 - query does not return documents, just numFounds, 2 shards, replication Factor 1

2013-07-29 Thread Nitin Agarwal
Jason, all my fields are set with stored=ture and indexed = true, and I used select?q=*:*fl=*,score but still I get the same response *response lst name=responseHeader int name=status0/int int name=QTime138/int lst name=params str name=fl*,score/str str

Re: Solr 4.3.1 - query does not return documents, just numFounds, 2 shards, replication Factor 1

2013-07-29 Thread Jack Krupansky
documents, just numFounds, 2 shards, replication Factor 1 Jason, all my fields are set with stored=ture and indexed = true, and I used select?q=*:*fl=*,score but still I get the same response *response lst name=responseHeader int name=status0/int int name=QTime138/int lst name=params

Re: Solr 4.3.1 - query does not return documents, just numFounds, 2 shards, replication Factor 1

2013-07-29 Thread Chris Hostetter
: Here is what my schema looks like what is your uniqueKey field? I'm going to bet it's tn_lookup_key_id and i'm going to bet your lowercase fieldType has an interesting analyzer on it. you are probably hitting a situation where the analyzer you have on your uniqueKey field is munging the

Re: Solr 4.3.1 - query does not return documents, just numFounds, 2 shards, replication Factor 1

2013-07-29 Thread Nitin Agarwal
Erick, I had typed tn_lookup_key_id as lowercase and it was defined as fieldType name=lowercase class=solr.TextField positionIncrementGap=100 analyzer tokenizer class=solr.KeywordTokenizerFactory / filter class=solr.LowerCaseFilterFactory / /analyzer /fieldType Nitin