lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Fwd: Unable to show the indexed content in Solr 5.0
Date Tue, 03 Mar 2015 23:38:06 GMT
OK, this last query is telling:

{
  "responseHeader":{
    "status":0,
    "QTime":5,
    "params":{
      "fl":"id,content",
      "q":"content:[* TO *]"}},
  "response":{"numFound":0,"start":0,"docs":[]
  }}

Despite what you think, you are _not_ actually indexing anything to
the "content" field in Solr

I'm not quite sure how, doe the Solr logs show anything interesting
when you send the doc to Solr?

Best,
Erick

On Tue, Mar 3, 2015 at 6:25 AM, Shawn Heisey <apache@elyograg.org> wrote:
> On 3/3/2015 12:23 AM, Zheng Lin Edwin Yeo wrote:
>> The content field is unable to be shown during searching, even though the
>> following line has been added to the schema using curl from the resource
>> named in 'managedSchemaResourceName'.
>>
>> <field name="content" stored="true" type="text_general" indexed="true"/>
>
> Did you restart Solr (or reload the core/collection) and reindex all
> your documents after you made the change?  The contents of the existing
> index do not change when you change your schema.
>
> http://wiki.apache.org/solr/HowToReindex
>
> Thanks,
> Shawn
>

Mime
View raw message