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

Searching existing word returns none, but an empty search returns a list with all records ? #79

Open
ghost opened this issue Jun 5, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 5, 2016

  1. The reason I was getting zero results was because existing database records have the field search_index empty. I still don't know how to index old existing records.

    Page.objects.search("page", raw=True)
    []
    Page.objects.search("")
    [<Page: Page: Home page>, <Page: Page: About>, <Page: Page: Navigation>]

@ghost ghost changed the title Searching existing word returns none, but an empty searching returns a list with all records ? Searching existing word returns none, but an empty search returns a list with all records ? Jun 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants