Questions tagged [redis-search]

9 questions
0
votes
1 answer

Distributed Redis Search using Redis Index

We are currently utlizing redis search as vector database. We have deployed redis stack cluster with 6 nodes 3 Master and 3 Slaves.Our data is divided into multiple groups for each group we have created index to do fast search, and there can be…
0
votes
0 answers

Dynamic vector field weighting in vector database for vector similarity search (redis or other)

I am building a recommendation engine for a project, for which I intend to use a vector database for similarity search (currently using redis for tests). The products I work on have ~15 diferent fields and instead of doing a complex and expensive…
0
votes
0 answers

How to use Redis Search in a Redis Cluster?

I have a 6 node Redis cluster - with 3 masters and 3 replicas. I connected on Master1 (M1) and created an index through redis-cli. It redirected me to M2 on which the index got created. Now, I inserted some 5-10 records satisfying the index key…
0
votes
1 answer

redissearch fuzzy search chinese

enter image description here I want to perform fuzzy search in redissearch. name is a text filed. When I tried FT.SEARCH panda_beta.mp2c.job_store.json:index '@name_fts:*店员* @pk:{16509}' RETURN 2 pk company_id LIMIT 0 1 but I can't find the…
luyiming
  • 1
  • 1
0
votes
1 answer

Finding total sum by aggregating Redis JSON

I want to find total website visits by summing up the visits of individual pages. In my Redis, I have JSONs like: {'page_name': 'home', 'visit_count' : 10} {'page_name': 'add_to_cart', 'visit_count' : 7} {'page_name': 'checkout', 'visit_count' :…
0
votes
0 answers

Redis / RedisSearch slows down after some time

I have a Redis Stack running inside a podman container, that slows down for specific commands after just a couple of hours of uptime. (Redis v6.2.13, RediSearch v. 2.6.12, RedisJSON v. 2.4.7) For example, FT.SEARCH idx LIMIT 0 0 that counts entries…
0
votes
1 answer

RedisSearch return same data irrespective of query

Search Query: FT.search logIndex "@country:{Brazil}" return 3 user_id timestamp country Returned Values: instead of country Brazil it is returning the data of China. I did not find any solution to this problem or may be I am new to RediSearch.
0
votes
0 answers

How to find size of RediSearch Index

I found Redis Search calculator that can estimate index size but how I can find out that by Redis commands? I tried to do that using FT.INFO but I am even not close to the value from the calculator. What i did: I multiplied bytes_per_record_avg *…
0
votes
1 answer

How do start-with and end-with queries in Redis search

Is it possible to find documents which starts or ends with a specific expression? For example if we search with this command: FT.SEARCH "our.domain.DocumentIdx" "bar*" It will returns documents such as : "foo bar", "foo bar baz", "bar baz". But I…
Amir Keshavarz
  • 2,403
  • 3
  • 19
  • 19