jasonmk / datastax_rails

A Ruby-on-Rails interface to Datastax Enterprise. Replaces the majority of ActiveRecord functionality.
MIT License
23 stars 9 forks source link

Allow user to define custom schema field types #5

Closed cattywampus closed 11 years ago

cattywampus commented 11 years ago

This is a small fix that allows users to write custom fieldType elements which will get included in the generated schema that is uploaded to Solr.

I think this is going to be a temporary solution because it only allows users to append fieldType elements to the types container. I foresee a need in the future where configuring the schema needs to be more flexible to allow users to add types, fields and customize other aspects of the schema.

But for now, this gets us moving...