T
Twenty3mo ago
Raph

Is there a command for rebuilding search cache?

Hi All, I'm seeing that of the searching capability is regressing and I'm wondering is there is a command that I can use to purge the existing search cache and rebuild it?
4 Replies
ɃØĦɆᵾS
ɃØĦɆᵾS3mo ago
Could you please write more details? How did you found out that search is regressing? How many objects do you create on daily basis? Did you upgrade your instance? Is it self hosted or on prem?
charles
charles3mo ago
Hi @Raph, what do you have in mind when you talk about "search" cache ? The search is quite bad on twenty and we are working on it for the first time in a year! The new search will be part of 0.30 likely in 20 days. @marie is working on it still curious about your usecase
Raph
RaphOP3mo ago
Hey @ɃØĦɆᵾS sometimes I can search for "jason" and search will return nothing. I can then search for "Wilson" where "Jason Wilson" comes back as a result. I'm also noticing that I'm able to search notes. Sometimes the search will return a result, and others times different notes don't return anything. In some of my applications I can run a command to purge the search cache in elastic/redis/etc and rebuild the search cache. Sometimes the strings get wonky after migrations. @charles It might be a good idea to document how search works, which objects search includes, and what the expected result should be. As of now, folks like me are just making assumptions on the expected behavior.
charles
charles3mo ago
@Raph yes! We are exploring the search right now. It was pretty basic but will get a bit more fancy this week actually We are going to index a set of TEXT fields on standard object + labelIdentifer for custom objects for now. Later, this will be customizable from the settings The solution we have chosen does not need to re-index stuff, this is automatically done on postgres side
Want results from more Discord servers?
Add your server