mozilla / elasticutils

[deprecated] A friendly chainable ElasticSearch interface for python
http://elasticutils.rtfd.org
BSD 3-Clause "New" or "Revised" License
243 stars 76 forks source link

small migration howto from elasticutils to elasticsearch-dsl would be nice #288

Open pcompassion opened 9 years ago

pcompassion commented 9 years ago

I guess full explanation would be pointless but 1 - 2 pages long howto could be useful for people like me

Mainly, elasticutil's mapping class to elasticsearch-dsl's doctype class. extract_document , get_mapping and so on. (It will take me some time to figure out what's possible and what's not convertible)...

Thanks

willkg commented 9 years ago

It'll be really different for everyone. It's not something I think we can generally do. Sorry.

pcompassion commented 9 years ago

Well that's understandable.

I'd like to ask specific questions if possible.
Is there an equivalent of extract_document in elasticsearch-dsl?

I could do dynamic things such as building a list in extract_document, but not sure if I could do that with elasticsearch-dsl.

Elasticsearch-dsl's doctype seems similar to mapping in elasticutils but their document doesn't say much.

willkg commented 9 years ago

I helped a bit early on with the initial architecture, but haven't really touched it since then. The projects I'm working on are still stuck on Elasticsearch 0.90.

I don't think anyone else looks here, so I think you should be asking elsewhere. For questions about elasticsearch-dsl, you should ask wherever they handle questions.

pcompassion commented 9 years ago

ok Thanks for the response!