Thanks for Anshum & Gora's suggestion.
I haven't set default fl in solrconfig.xml and the documents do contain
tagid and bizid field(I've tried both q=*:* and q=bizid:2380505101).
I'll look into the reindex possibility that Gora mentioned.

2015-02-09 18:37 GMT+08:00 Gora Mohanty <g...@mimirtech.com>:

> On 9 February 2015 at 15:50, Anshum Gupta <ans...@anshumgupta.net> wrote:
> > Common reasons for that would be
> > 1. Your default fl in solrconfig is set to id, _version_. Can you try
> > explicitly mentioning fl=id,tagid,bizid in the request? Also, it'd be
> good
> > to look at your solrconfig.xml.
> > 2. Chances are, those documents do not contain those fields to begin
> with.
> > Both bizid and and tagid aren't required fields and so those documents
> > might not even have those. What you've shared confuses me a bit. Does
> your
> > query contain q=bizid:2380505101 or q=*:* ? If you are querying for
> bizid,
> > the field (with that value) should be a part of the document and the
> > previous point should be the reason why you're seeing this behavior.
>
> One more possibility to consider is that if you change the schema, you
> would need to reload the Solr container, and reindex.
>
> Regards,
> Gora
>

Reply via email to