JRediSearch icon indicating copy to clipboard operation
JRediSearch copied to clipboard

字符串无法搜索到 (String cannot be found)

Open csx-bill opened this issue 6 years ago • 2 comments

无法被搜索到 Query other = new Query("ba50c2e4-176b-4979-b700-70060f26b45e").limitFields("typeId"); SearchResult result = client.search(other); 能被搜索到 Query other = new Query("ba50c2e4").limitFields("typeId"); SearchResult result = client.search(other); 猜测“-”这个符号的问题无法被搜索到数据

csx-bill avatar Dec 04 '19 07:12 csx-bill

Cannot be found

Query other = new Query ("ba50c2e4-176b-4979-b700-70060f26b45e"). LimitFields ("typeId");
SearchResult result = client.search (other);

Can be searched

Query other = new Query ("ba50c2e4"). LimitFields ("typeId");
SearchResult result = client.search (other);

The problem of guessing the symbol "-" cannot be searched for data

gkorland avatar Dec 31 '19 16:12 gkorland

@csx-java sorry for taking so long to return to you, I somehow missed the issue. It seems like an issue that is not related to the client but more on the server side. You might want to consider opening an issue here https://github.com/RediSearch/redisearch/issues

Also, can you please add the RediSearch version you used and some sample data to recreate the issue?

gkorland avatar Dec 31 '19 16:12 gkorland