lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey" <>
Subject Re: Indexing non-stored fields
Date Tue, 01 Jul 2014 00:04:13 GMT
> Hello All, (warning: newbie question)
> In our schema.xml we have defined many fields such as:
> <field name="firstname" type="string" indexed="true" stored="false" />
> Other fields are defined as this:
> <field name="recordid" type="long" indexed="true" stored="true" />
> Q: If my server is restarted/ rebooted, will I still be able to search for
> documents using the "firstname" field? Or will my records need to be
> re-indexed before I can search by first name?
> It seems that after a re-boot, I can search for the "stored='true'" fields
> but not the "stored='false'" fields.
> Am I interpreting this correctly? or am I missing something?

Fields that are not stored simply mean that they will not be returned in
search results. If they are indexed, then you will be able to search on
those fields.

This should be the case before or after a restart.


View raw message