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
0
votes
1 answer

How do I search for a nested @Indexed key in Redis redis-om-spring?

I am trying to search for a nested @Indexed field using redis-om-spring For some reason a find returns expected 1 entry for level 1, but returns unexpected 0 entries for level 2. I am not sure if I can only search one level deep or if I am making a…
rjdkolb
  • 10,377
  • 11
  • 69
  • 89
0
votes
1 answer

How to use RediSearch and RedisJSON to query documents based on a condition (comparison operators)?

I have the following data stored as json using RedisJSON and I want to query a particular set of rows based on input criteria using RediSearch. Ex Data: { "Ticker": "AAPL", "Name": "Apple Inc.", "returns": [ { "Range": { "Begin":…
Gowthamss
  • 191
  • 1
  • 2
  • 13
0
votes
0 answers

How can I handle redis-cluster with Redis Stack (RedisJSON & RediSearch)?

I'm currently having problem dealing with redis-cluster. creating a redis cluster, I'm using the "redis/redis-stack-server:latest" docker image. I am doing a query test using RediSearch, but in standalone mode, the number of requests per second is…
0
votes
0 answers

Error using ioredis in nodejs - ReplyError: Timeout limit was reached

I'm using ioredis module in nodejs to manage redis client. sometimes when executing search(I'm using Redisearch), I'm getting this error into my application. ReplyError: Timeout limit was reached at parseError…
Robsom
  • 23
  • 5
0
votes
0 answers

Redissearch Search with results that prioritize one (or more) field over others

I have created a Schema with 2 fields with different weights ` .addTextField("title", 10.0) .addTextField("description", 2.0) I pushed 2 objects with the following values: Object 1: fields.put("title", "i want to learn more about coding"); …
Mr.QA
  • 3
  • 2
0
votes
1 answer

RediSearch search results difference

I use Redis together with the modules RedisJSON and RediSearch. I have a question about the RediSearch module especially the FT.SEARCH. My Index looks like this: FT.CREATE chainIdIdx ON JSON PREFIX 1 chain-id. SCHEMA…
limdan
  • 3
  • 1
0
votes
0 answers

How to debug RediSearch Json indexing issues?

When indexing json with RediSearch documents won't be indexed if the type mapping is incorrect, like if a number is mapped as TEXT or similar. Most often the symptom is that the index is just empty or missing data even when there are json documents…
Jonas Stensved
  • 14,378
  • 5
  • 51
  • 80
0
votes
0 answers

How to implement phrase match in redisearch?

I'm trying to implement a targeting feature on our AdServer (DSP). Currently, our Ads are attached to targeted keywords e.g. "Baseball caps" and all of these keywords are indexed in RediSearch. When a user on a publisher side searches for e.g.…
0
votes
1 answer

How to use Redisearch from Redis-cli to find an exact number?

I have a set of data like this : 127.0.0.1:6379> json.set a:1 . '{"name":"chloe", "age":26}' OK 127.0.0.1:6379> json.set a:2 . '{"name":"shan", "age":38}' OK 127.0.0.1:6379> json.set a:3 . '{"name":"wala", "age":14}' OK 127.0.0.1:6379> json.set a:4…
Hypothesis
  • 1,208
  • 3
  • 17
  • 43
0
votes
1 answer

RedisJson: not able to find exact tree structure

we have array of objects which we are storing in RedisJson. object looks like this [ { "abcd": null, "pqrs": "002090618000132", "xyz":"SomeValue2", "mnop": 5, "Properties": { "property1": "04240424", …
Ameya Deshpande
  • 3,580
  • 4
  • 30
  • 46
0
votes
1 answer

Java ResiSearch FT.SEARCH results to json

I am new to RedisSearch. I have a Java client. What is the easiest way to parse this sample FT.SEARCH result into JSON or POJO or something more useful? Sample result from FT.SEARCH (actually a string): [ 3, movie_json: 1, [$, { "id": 1,…
Murrah
  • 1,508
  • 1
  • 13
  • 26
0
votes
1 answer

Unable to add fields to Redis index schema. Error: Cannot add more fields

I have an index created on Redis using FT.CREATE command. Now I want to add few more fields to the index. But I am getting the error below. Cannot add more fields. Declare index with wide fields to allow adding unlimited fields I have used the…
Mukund Gandlur
  • 861
  • 1
  • 12
  • 35
0
votes
1 answer

Updating data in a running Redis instance

At our company we are using Redisearch with a non-trivial amount of data in it (think 3 of 4 gigabytes of data). When we fill it up with a normal script it can take a couple hours. Now something has changed in the document structure and we have to…
0
votes
1 answer

Redisearch full-text search in redis: finding partial text *text

Following the example provided: # add data to hash set HSET movies:11002 title "Star Wars: Episode V - The Empire Strikes Back" plot "Luke Skywalker begins Jedi training with Yoda." release_year 1980 genre "Action" rating 8.7 votes 1127635 HSET…
Teebu
  • 677
  • 7
  • 18
0
votes
1 answer

Redisearch for JSON doesn't support key prefix option

I wanted to use redisearch with JSON data. But I wanted segregate JSON data in different namespace so that index created can only search on specific namespace. Currently redisearch index are created on schema but doesn't have KEY prefix FT.CREATE…