Hey Mike, My fault... I wasn't paying attention and thought I was replying to a response from James. No wonder it reminded me of our last conversation. :)
-Greg On Thu, Jan 22, 2015 at 10:37 AM, Michael Sokolov < msoko...@safaribooksonline.com> wrote: > Yeah I know -- we've been around this block before. I agree that the > whole block indexing/searching feature is a bit confusing, trappy and > error-prone, and it may be helpful to have those boundary conditions as > signposts, but in my case relaxing the restriction enabled me to execute > the queries I want without having to write a lot of awkward extensions to > my indexing code. That code uses Python's haystack, which is based on > django models, and in order to comply with the parent-not-its-child idea, I > would have had to introduce dummy documents to stand in as the parents, > something that isn't at all natural or straightforward in that > django/haystack view of the world. Maybe the enforcement of that > restriction could be relaxed according to an option in the query > constructor. > > -Mike >