Recently me and my colleagues have decided to try RediSearch for our development, and we were really impressed by the performance.
However, we have several questions regarding the usage of the API, we hoped you could answer.
- From some tests on the API, we found that if we search on a certain column, an expression that contains one word, for instance: “hello”, the results could contain extra results, that aren’t equal “hello”,
For instance, “hello world” could be part of the results.
We were wondering, is there is a way to ask the API for find the exact word? Attempting to send “hello” did not work either.
Moreover, it seems like it works only when you complete the first word, if I were to send hell results wouldn’t be find (unless hell ) is an actual value in for the column.
- We saw it is possible to search for by a prefix, e.g. @column: hell* would work.
But we were wondering if there is a way to also search by a suffix, e.g. @column: *old , to find all the results that end with the expression “old” , or even @column. elo to find all the results that contain the expression: elo
- We were wondering if there is an easy way to get all the possible values for each column, even on large databases.