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
Hi. The in-source comments say:
"You can also give a 'search_field', a VectorField into where the values of the searched
fields are copied and normalized. If you give it, the searches will be made on this
field; if not, they will be made directly in the searched fields."
If i understand the concept correctly, search_field is an aux vector/array column with all searchable values copied in and kept up-to-date with update_search_field.
I cannot keep them up to date this way because someone else is writing to db. My django is readonly.
But the SearchQuerySet does simply this:
full_search_field = "%s.%s" % (
qn(self.model._meta.db_table),
qn(self.manager.search_field)
)
w/o ensuring search_field exists and I am seeing a callstack.
Can u confirm my diagnosis is correct? I may be able to contribute as i need this kind of function.
The text was updated successfully, but these errors were encountered:
Hi. The in-source comments say:
"You can also give a 'search_field', a VectorField into where the values of the searched
fields are copied and normalized. If you give it, the searches will be made on this
field; if not, they will be made directly in the searched fields."
If i understand the concept correctly, search_field is an aux vector/array column with all searchable values copied in and kept up-to-date with update_search_field.
I cannot keep them up to date this way because someone else is writing to db. My django is readonly.
But the SearchQuerySet does simply this:
full_search_field = "%s.%s" % (
qn(self.model._meta.db_table),
qn(self.manager.search_field)
)
w/o ensuring search_field exists and I am seeing a callstack.
Can u confirm my diagnosis is correct? I may be able to contribute as i need this kind of function.
The text was updated successfully, but these errors were encountered: