Hacker Newsnew | comments | show | ask | jobs | submit login

Surprised ElasticSearch doesn't support dynamic fields. That is one of the most useful featuresin SOLR.



This is incorrect. Dynamic templates are pretty much the same thing.

http://elasticsearch-users.115913.n3.nabble.com/Apply-dynami...

-----


You can define a mapping that customizes fields based on wildcards. For instance, you can say that any field matching *_ts is treated as a date field.

That means that as new documents arrive with fields that were never seen before, if those fields end in _ts, they will be properly indexed.

That feels like dynamic field support to me.

-----


It really doesn't need to since you aren't bound to a fixed schema. Just use whatever fields are necessary for your documents and map them to the appropriate types.

-----


This is a typo that has been corrected. dynamic fields is indeed supported!

-----




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: