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

Change S._build_query() to S.build_search() #219

Closed willkg closed 10 years ago

willkg commented 10 years ago

r?

willkg commented 10 years ago

@eire1130: Does this work for you?

@robhudson: Can you review this? It should be pretty straight forward: name change, some tweaks to documentation, new to_json function and that's about it.

eire1130 commented 10 years ago

pretty cool to me. Is there merit for .build_search() to call ._build_query()?

robhudson commented 10 years ago

The change looks good to me. I asked a few questions, otherwise :shipit:.

willkg commented 10 years ago

@eire1130 There is no more _build_query(). I tossed around whether to have a _build_query() that calls build_search(), but I don't think it's worth the maintenance baggage.

willkg commented 10 years ago

I think this is good. I'll wait until tomorrow to land it in case there are other thoughts/objections/etc.

willkg commented 10 years ago

Landed! Thank you!