You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Roshan Agarwal <ro...@siddhast.com> on 2015/09/23 07:36:15 UTC
solrcloud not displaying store fields
I am getting an issue with solrcloud the stored field is not reflecting in
search where as we are able to get result
Re: solrcloud not displaying store fields
Posted by Chris Hostetter <ho...@fucit.org>.
the results you've posted make no sense to me unless the documents are out
of sync between multiple replicas of whatever shard is hosting the doc
that you get in the first result -- both of your queries, even though you
are sending them to a specific replica, are general requests so they are
being distributed to each shard and then aggregated. the fact that you
see these different results when adding to the fl may just be coincidence?
Try adding "distrib=false" to both queries, and issuing them to every
replica of every shard in your index -- if you get inconsistent results
for the same query between two replicas of the same shard that would seem
to confirm my suspicion. if you get inconsistent responses for the two
different queries from a single replica then something else very weird is
happening.
full details about your configs & schema would also be helpful to perhaps
identify more esoteric possible causes (ie: any custom plugins? you aren't
using TextField for your uniqueKey field are you? etc...)
: Date: Wed, 23 Sep 2015 11:17:02 +0530
: From: Roshan Agarwal <ro...@siddhast.com>
: Reply-To: solr-user@lucene.apache.org
: To: solr-user@lucene.apache.org
: Subject: Re: solrcloud not displaying store fields
:
: Further in this please see an example below:
:
:
: http://solr:port
: /solr/cloud1_shard1_replica1/select?q=UCID%3Addfdf4&fl=UCID&wt=json&indent=true
:
: {
: "responseHeader":{
: "status":0,
: "QTime":1157,
: "params":{
: "q":"UCID:ddfdf4",
: "indent":"true",
: "fl":"UCID",
: "wt":"json"}},
: "response":{"numFound":1,"start":0,"maxScore":13.710121,"docs":[
: {
: "UCID":"ddfdf4"}]
: },
:
:
: But when we add TI in fl there is no num found
:
: http://solr:port/solr/cloud1_shard1_replica1/select?q=UCID%3Addfdf4&fl=UCID,TI&wt=json&indent=true
:
: {
: "responseHeader":{
: "status":0,
: "QTime":1727,
: "params":{
: "q":"UCID:ddfdf4",
:
: "indent":"true",
: "fl":"UCID,TI",
: "wt":"json"}},
: "response":{"numFound":0,"start":0,"maxScore":13.710121,"docs":[]
: },
: "highlighting":{},
: "spellcheck":{
: "suggestions":[]}}
:
: Can any one explain this behaviour of solr
:
:
: Roshan
:
:
:
:
: On Wed, Sep 23, 2015 at 11:06 AM, Roshan Agarwal <ro...@siddhast.com>
: wrote:
:
: > I am getting an issue with solrcloud the stored field is not reflecting in
: > search where as we are able to get result
: >
:
:
:
: --
:
: Roshan Agarwal
: Director sales
: Siddhast Ip innovation (P) ltd
: 907 chandra vihar colony
: Jhansi-284002
: M:+919871549769
: M:+917376314900
:
-Hoss
http://www.lucidworks.com/
Re: solrcloud not displaying store fields
Posted by Roshan Agarwal <ro...@siddhast.com>.
Further in this please see an example below:
http://solr:port
/solr/cloud1_shard1_replica1/select?q=UCID%3Addfdf4&fl=UCID&wt=json&indent=true
{
"responseHeader":{
"status":0,
"QTime":1157,
"params":{
"q":"UCID:ddfdf4",
"indent":"true",
"fl":"UCID",
"wt":"json"}},
"response":{"numFound":1,"start":0,"maxScore":13.710121,"docs":[
{
"UCID":"ddfdf4"}]
},
But when we add TI in fl there is no num found
http://solr:port/solr/cloud1_shard1_replica1/select?q=UCID%3Addfdf4&fl=UCID,TI&wt=json&indent=true
{
"responseHeader":{
"status":0,
"QTime":1727,
"params":{
"q":"UCID:ddfdf4",
"indent":"true",
"fl":"UCID,TI",
"wt":"json"}},
"response":{"numFound":0,"start":0,"maxScore":13.710121,"docs":[]
},
"highlighting":{},
"spellcheck":{
"suggestions":[]}}
Can any one explain this behaviour of solr
Roshan
On Wed, Sep 23, 2015 at 11:06 AM, Roshan Agarwal <ro...@siddhast.com>
wrote:
> I am getting an issue with solrcloud the stored field is not reflecting in
> search where as we are able to get result
>
--
Roshan Agarwal
Director sales
Siddhast Ip innovation (P) ltd
907 chandra vihar colony
Jhansi-284002
M:+919871549769
M:+917376314900