Hello,

All fields you want to index or store in the index must be defined in the Solr 
schema.  If you prefer having schemaless indices, that's where straight Lucene 
without Solr can be helpful.  You can store additional information for each 
term, though.  This is known as "Payload".  Perhaps that is how you can sneak 
in additional data in your documents.

 
Otis--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: jlist9 <jli...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Sunday, March 8, 2009 2:33:03 PM
> Subject: Store fields that are not defined in schema?
> 
> I haven't tried this but is it possible to store fields that are not
> defined in solr schema and retrieve them in the result?
> 
> I understand there could be conflicts in terms of how each document
> understand/defines these fields but since these fields are not
> defined, and thus not index, it should cause no trouble to the solr
> engine. So these fields would become document-local.
> 
> This sounds useful in the case where multiple doc types are indexed in
> the same index.

Reply via email to