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 search, that is using Sphinx, is working: That command builds the search indexes over the contents of the database. However, deltas are not.
Deltas are used for marketplace additions and modifications since the last time ts:index was run. This allows listings that were just added or modified to be fully searchable right away.
After some investigation, Go CE's user Roman Petrenko discovered that this is probably related to a breaking change in the Thinking Sphinx gem, from release 5.0.0. It seems that callbacks aren’t added automatically for all ActiveRecord models anymore and they have to be added explicitly.
An alternative could be to setup a cron job to index things on a regular basis.
Additional information
This issue and the proposed fix has not been investigated by the Sharetribe team. We may have a look in the future, but we don't have any timeline to share about it.
The text was updated successfully, but these errors were encountered:
Sharetribe Version
From Sharetribe Go Community Edition v11.0.0.
Description
The search, that is using Sphinx, is working: That command builds the search indexes over the contents of the database. However, deltas are not.
Deltas are used for marketplace additions and modifications since the last time
ts:index
was run. This allows listings that were just added or modified to be fully searchable right away.After some investigation, Go CE's user Roman Petrenko discovered that this is probably related to a breaking change in the Thinking Sphinx gem, from release 5.0.0. It seems that callbacks aren’t added automatically for all ActiveRecord models anymore and they have to be added explicitly.
Fix
Roman Petrenko proposed a solution on the Go CE Community Forum as well as the code that worked for them to fix this.
An alternative could be to setup a cron job to index things on a regular basis.
Additional information
This issue and the proposed fix has not been investigated by the Sharetribe team. We may have a look in the future, but we don't have any timeline to share about it.
The text was updated successfully, but these errors were encountered: