lugensa / scorched

Sunburnt offspring solr client
MIT License
27 stars 19 forks source link

better check datetime dynamicfields #16

Closed mamico closed 9 years ago

mamico commented 9 years ago

A different implementation for better guessing datetime dynamicfields.

With previous method (endswith) I had problem when a textfield name is something like "candidate" and a datetime field as name "date".

delijati commented 9 years ago

Is this backward compatible?

mamico commented 9 years ago

I don't know about backward compatibility. But in my opinion this is a bug fix, not a new feature nor an improvement: current implementation manages wrongly Solr's schema configuration. (see test included).