Comments (2)
First of all, if you are upgrading between 0.4 and 0.9 you need to delete the data and start fresh.
Second, the way to check the existence of an index is to call FT.INFO
on it, and if the index does not exist you receive an error.
So basically:
try:
client.info()
except ResponseError:
client.create_index(...)
from redisearch.
I'm closing the issue as this doesn't seem to be a bug.
I might change the key naming in a future version in a way that the usual redis EXISTS and TYPE commands will apply to inverted indexes.
from redisearch.
Related Issues (20)
- Unclear time complexity for FT.SEARCH HOT 2
- README missing build instructions HOT 2
- [Help] Highlighting unexpected error No such property `title` HOT 3
- How to debug a query to understand that how it working specially weight with fields? HOT 1
- [BUG] Optimizer single item not returned HOT 6
- JSON index query returns incorrect results with tag filter HOT 3
- [BUG] Redis became unrepsponsive HOT 2
- [BUG] Searching for special capital letters HOT 2
- Not generating redisearch.so HOT 1
- [Question] Restarting redisearch sometimes doesn't reload all indexes from disk HOT 9
- RediSearch dead-lock HOT 3
- [QUESTION] Wildcards not working inside the string HOT 4
- [BUG] Error while trying to create RedisEnterpriseDatabase on Openshift 4.14.8
- del key HOT 1
- [Feature Request] ft.dropindex work synchronously and if it takes a long time, server will hang.
- [Help] CPU utilization remains consistently high after complex hybrid searches utilizing MT mode. HOT 2
- [BUG] Is There a offset limit when using `limit offset num` HOT 3
- [BUG] Redis Search silently fails to Sort when the index schema is too large HOT 6
- [BUG] ft.aggregate slowdown with high frequency updates HOT 3
- [BUG] Wildcard redisearch on TEXT field does not return result HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redisearch.