Questions tagged [redisearch]

For questions about how to use RediSearch, the open-source search tool built on Redis in which the indexes are entirely in memory.

RediSearch is a Redis module that provides querying, secondary indexing, and full-text search for Redis. To use RediSearch, you first declare indexes on your Redis data. You can then use the RediSearch query language to query that data.

RediSearch uses compressed, inverted indexes for fast indexing with a low memory footprint.

RediSearch indexes enhance Redis by providing exact-phrase matching, fuzzy search, and numeric filtering, among many other features.

149 questions
1
vote
0 answers

Using Redisearch in Concurrent Requests

I have deployed an API using Laravel 8 in M6G 8X Large Server. My System architecture is as follows. Client -> NGINX -> PHP-FPM -> Laravel API -> PGBouncer -> PostgreSQL/PostGIS The API gets back the result to the client request from a Postgres…
Dinesh
  • 11
  • 1
  • 3
1
vote
1 answer

Issue in integrating php-redisearch with laravel 8

I have installed the plugin MacFJA/php-redisearch using the following command composer require macfja/redisearch Issue: Complete code:
Mahe Krish
  • 141
  • 1
  • 7
1
vote
1 answer

Is there support Redis Search and Redis JSON support in redis-py client

Is it perform redis search in redis json in redis-py in current version? If yes please provide some sample code? Thank you in advance
1
vote
1 answer

Any recommended PHP package for redisSearch?

I thought, surely there must be php developers out there who use redisSearch. I have only seen two packages for this RedisSearch-php by Ethan Hann and php-redisearch by MCFJA. They return empty documents and php-redisearch by MCFJA is not…
Moziz Carayol
  • 31
  • 1
  • 2
1
vote
1 answer

RediSearch - searching for particular word which occurs in many records take long time. How to improve it?

I have addresses database (as hashes) with about 30 millions records. I was adding text index to all addresses fields. Searching looks ok until I want to search word which occur in many records. For example searchin word "London" which occur in…
1
vote
2 answers

How to remove all the documents from an index in Redisearch?

I want all the documents to be removed from a particular index in Redisearch. I have come across commands for deleting records with the documentid known. Can we delete all the records without using documentids? Please suggest something. Thank you.
1
vote
0 answers

Redis issue on module-redis-fork

Issue Hi everyone, I have an issue while trying to interact with Redis in those conditions: Redis instance with Redisearch module, Create node-redis client before Redis module fork is ongoing, Redis module fork is on-going The behaviour that I…
Cit
  • 11
  • 2
1
vote
1 answer

RedisSearch Go Client How to use Geo Field

I have tried to use redisearch-go library with Geo Field. I don't understand how to set a Geo Field to the document. My schema is as below. schema :=…
Buddhika
  • 577
  • 2
  • 6
  • 20
1
vote
0 answers

How to setup the redisearch configuration in flask?

I'm trying to use the below code. But configuration setup not yet mentioned here. Searched so many blogs but not found. from redisearch import Client, TextField, IndexDefinition, Query # Creating a client with a given index name client =…
Suresh
  • 85
  • 1
  • 13
1
vote
1 answer

How to run RediSearch module with Redis on WSL (Windows Subsystem for Linux)

I followed the steps on https://redislabs.com/blog/redis-on-windows-10/ and have installed Ubuntu 18.04 and am successfully running Redis v4.09 on Windows. But, when following the steps on https://oss.redislabs.com/redisearch/Quick_Start/, I have…
CrimsonTide0
  • 37
  • 1
  • 6
1
vote
2 answers

Using RediSearch with NRediSearch (C#), how to apply OR clause on two numeric fields like i.CountyId == id || i.CityId == id

I am developing a .Net Core web app with RediSearch. Previously I have used in-app memory cache, but I have to change it to distributed cache. The issue is, the web app has very complex searches which must be handled from cache. I though I just move…
Sugafree
  • 631
  • 2
  • 14
  • 30
1
vote
1 answer

Searching in Redis Cache on basis of 3 hashKey Fields

I have a requirement that I needs to search in Redis Cache based on 3 hashKey fields - (clientId - String, securityId - String and transactionDate - Date). I did a basic POC where I implement a simple enough method to find by Id. Code: private…
sidd
  • 195
  • 3
  • 20
1
vote
1 answer

Is there a limit for ft.search 'OR' query?

Is there a limit for number of search terms for ft.search 'OR' query for a TAG field? Example: ft.search my_index "@my_field:{item1 | item2 ...}" How far can I go? Can I have tens of thousands of search terms for a query?
1
vote
1 answer

Search complexity of redisearch FT.SEARCH?

Their document below says it is O(n), without specifying what n is there. If it is no of documents in the index then search can be extremely slow. This doesn't make any sense, or does it…
humble_wolf
  • 1,497
  • 19
  • 26
1
vote
1 answer

Redis Python execute_command Redisearch

I am using python 3.6 in order to add some documents on a redis server ! So I use the command : execute_command with the module Redis. In my exemple I want to add metadata to a redisearch document with : c = 'FT.ADD idx doc 1 REPLACE FIELDS…
NicolasS
  • 11
  • 2