Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Introspected (Automatic) Django Mapping #156

Open
emidln opened this Issue · 1 comment

2 participants

@emidln

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
Owner

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
Something went wrong with that request. Please try again.