Re: Can't find some fields in solr result
That was it, I had to restart Solr for the schema changes to take effect -- View this message in context: http://lucene.472066.n3.nabble.com/Can-t-find-some-fields-in-solr-result-tp4099245p4099446.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Can't find some fields in solr result
Is it possible that you added stored="true" later, after some of the documents were already indexed? Then the older documents would not have the stored values. If so, you need to reindex the older documents. -- Jack Krupansky -Original Message- From: gohome190 Sent: Monday, November 04, 2013 2:38 PM To: solr-user@lucene.apache.org Subject: Re: Can't find some fields in solr result All fields are set to stored="true" in my schema.xml, and fl=* doesn't change the output of the response. I even checked the logs, no errors on any fields. -- View this message in context: http://lucene.472066.n3.nabble.com/Can-t-find-some-fields-in-solr-result-tp4099245p4099251.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Can't find some fields in solr result
All fields are set to stored="true" in my schema.xml, and fl=* doesn't change the output of the response. I even checked the logs, no errors on any fields. -- View this message in context: http://lucene.472066.n3.nabble.com/Can-t-find-some-fields-in-solr-result-tp4099245p4099251.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Can't find some fields in solr result
Also also, adding fl=* still doesn't solve the problem, still only 19 fields returning. And the missing fields definitely have values, because I can do a specific solr query of a missing field and its value, and the entry show up (with only 19 fields again though) -- View this message in context: http://lucene.472066.n3.nabble.com/Can-t-find-some-fields-in-solr-result-tp4099245p4099249.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Can't find some fields in solr result
On Mon, Nov 4, 2013 at 2:19 PM, gohome190 wrote: > I have a database that has about 25 fields for each entry. However, when I > do a solr *:* query, I can only see the first 19 fields for each entry. > However, I can successfully use the fields that don't show up as queries. > So weird! Because that means that solr has them, but isn't sending them in > the response! Any ideas? One of two things: - fields need to be stored (stored="true" on the field def in the schema) to be returned. A field can be indexed but not stored... this means that you can still search the field (because the index for the field exists), but it won't appear when you retrieve that document. - there is a "fl" (field list) parameter that controls what fields are returned. The default is all stored fields. -Yonik http://heliosearch.com -- making solr shine
Re: Can't find some fields in solr result
Also, no errors in the Logging, and all fields are in the schema.xml. -- View this message in context: http://lucene.472066.n3.nabble.com/Can-t-find-some-fields-in-solr-result-tp4099245p4099247.html Sent from the Solr - User mailing list archive at Nabble.com.