Frank Calfo wrote:
We need to index documents where the fields in the document can change 
frequently.

It appears that we would need to update our Solr schema definition before we 
can reindex using new fields.

Is there any way to make the Solr schema optional?
No. But you can design your schema more flexibly than you are designing it. Design it in a more abstract way, so it doesn't in fact need to change when external factors change.

I mean, every time you change your schema you are going to have to change any client applications that use your solr index to look things up using new fields and such too, right? You don't want to go changing your schema all the time. You want to design your schema so it doesn't need to change.

Solr is not an rdbms. You do not need to 'normalize' your data, or design your schema in the same way you would an rdbms. Design your schema to feed your actual and potential client apps.


Jonathan


Reply via email to