You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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>]
The text was updated successfully, but these errors were encountered: