Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: type object 'doc' has no attribute 'objects_search' #14

Open
GoogleCodeExporter opened this issue Apr 28, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Install django 1.0.2 and PyLucene and verify that they are working
2. Install django-search-lucene according to the documentation
3. Prepare the test 'killme' app according to the documentation

What is the expected output? What do you see instead?

attempting to search using the killme app returns:
  AttributeError: type object 'doc' has no attribute 'objects_search' 


Please provide any additional information below.

I found some time to try this again, eventually, but I'm still having the
same issues as before, so I thought I'd make a proper bug report to see if
I can get some help this way :)

The problem (or at least a symptom) seems to be at least partly that the
file 'indexes.py' is never called or executed.  I can fill it with all
kinds of syntax errors and rubbish without python complaining at any stage.

However, I've also tried adding the IndexModel declaration in models.py and
registering it manually, but this doesn't help either... :(

Any help from anyone who's got this working would be greatly appreciated!

Thanks!

Original issue reported on code.google.com by [email protected] on 2 Sep 2009 at 3:10

@GoogleCodeExporter
Copy link
Author

OK .. 3 yeas passed ...

Yes , I got this problem too.
I spent all night on solving this problem, but I didn't work it out.

I know 'indexes.py' is the key point. 

Nobody knows? 

Original comment by [email protected] on 15 Apr 2012 at 2:01

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

No branches or pull requests

1 participant