Closed vytautasvers closed 3 days ago
seems like a bug as query cache completely skip full text matching and ranking takes all ft related values from the cache.
It should be fixed to by pass query cache and do full text search and ranking if the query has a packedfactors
I've just fixed this issue at https://github.com/manticoresoftware/manticoresearch/commit/c17259eadb7a026439d12f78793f5bb349f0e5ed you need to use package from the dev repository after CI passed. Now the daemon will not put or check the query with the packedfactors at the query cache.
Bug Description:
Recently tried to enable Manticore’s native query cache, however we ran into a situation regarding caching PACKEDFACTORS() output, regardless if it’s json or not. On a cache miss we receive values, on a cache hit we receive empty column, as mentioned by @sanikolaev on Community Slack (https://manticore-community.slack.com/archives/C7NSLK1NE/p1731066852754549) this could be a bug. We were able to reproduce it on several docker based instances with versions 6.0.4 and 6.3.6.
Manticore Search Version:
6.3.6 593045790@24080214
Operating System Version:
Docker container manticoresearch/manticore:6.3.6
Have you tried the latest development version?
No
Internal Checklist:
To be completed by the assignee. Check off tasks that have been completed or are not applicable.