Introspected (Automatic) Django Mapping #156

Open
emidln opened this Issue Jul 11, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@emidln
Contributor

emidln commented Jul 11, 2013

Would it be worthwhile to include something along the lines of https://gist.github.com/emidln/5977325 to support quicker integration into Django projects? That code is only partially tested (which is why it's a gist and not a pull request). It's based on the way Haystack does introspection and, by default, relies on ElasticSearch's implicit mapping process. I've been using this locally to rapidly prototype things I've built in Django using the ORM that I know will eventually become more complex (and thus why I'm on elasticutils instead of haystack).

@willkg

This comment has been minimized.

Show comment Hide comment
@willkg

willkg Jul 19, 2013

Member

I think this is helpful for people throwing things together when the data in their db matches the documents in their index. But once you stray from that path, this isn't helpful and it gets in the way.

I'm not sure this is something I want to maintain. I see the benefits in prototyping, but I suspect it'll become a magnet for infinite edge case handling as folks discover it doesn't do exactly what they want it to do.

Having said that, I have no way to measure what peoples' actual needs are and how this will actually play out, so I'm up for leaving this issue open and seeing if it gains momentum.

Member

willkg commented Jul 19, 2013

I think this is helpful for people throwing things together when the data in their db matches the documents in their index. But once you stray from that path, this isn't helpful and it gets in the way.

I'm not sure this is something I want to maintain. I see the benefits in prototyping, but I suspect it'll become a magnet for infinite edge case handling as folks discover it doesn't do exactly what they want it to do.

Having said that, I have no way to measure what peoples' actual needs are and how this will actually play out, so I'm up for leaving this issue open and seeing if it gains momentum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment