Apparently Query.search doesn't work
It was the SSL?
Uh, so the issue was due to the OpenSSL key? π΅βπ«
But Query.equal does
Nope but I changed my key so it wasn't blank
Try this out on your end guys Query.equals works for me but as soon as you try Query.search fails
What you're searching for?
Query.search seems to be working fine for me π€
It's still acting weird guys. I think it's how I upgraded from 1.3.7 to 1.3.8
When I try to migrate this is the error I get ```Migrating Collection audit:
Fatal error: Uncaught RedisException: Connection lost in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php:34 Stack trace: #0 /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php(34): Redis->get('cache-_3:_metad...') #1 /usr/src/code/vendor/utopia-php/cache/src/Cache/Cache.php(48): Utopia\Cache\Adapter\Redis->load('cache-_3:_metad...', 86400) #2 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(2146): Utopia\Cache\Cache->load('cache-_3:_metad...', 86400) #3 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(721): Utopia\Database\Database->getDocument(Object(Utopia\Database\Document), 'audit') #4 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(391): Utopia\Database\Database->Utopia\Databaseclosure}() #5 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(721): Utopia\Database\Database->silent(Object(Closure)) #6 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(3915): Utopia\Database\Database->getCollection('audit') #7 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(391): Utopia\Database\Database->Utopia\Databaseclosure}() #8 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(3915): Utopia\Database\Database->silent(Object(Closure)) #9 /usr/src/code/src/Appwrite/Migration/Migration.php(179): Utopia\Database\Database->count('audit') #10 /usr/src/code/src/Appwrite/Migration/Migration.php(143): Appwrite\Migration\Migration->documentsIterator('audit') #11 {main} thrown in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php on line 34 root@Appwrite:~/appwrite#```
Any idea what this error could mean
That seems a problem with caching database π€
How can I fix it
Not sure what broke or how I broke it
Please help
@Binyamin any ideas
Let's summary the issue so we can better tackle it
- What are the attributes in that collection
- What are the indexes, types and on which attributes
- What the your code you're running that you're getting
null
The attributes are things that are full text indexes and the search doesn't work but the equals does but only for one attribute. I know a work around and I've checked that my code isn't the problem
It only returns null when I directly Query.search the full text index
Hope that explains it better
I might have to create a new appwrite
We can close this ticket, I just reinstalled appwrite
[Solved]indexes stopped working after updating to 1.3.8
[SOLVED]indexes stopped working after updating to 1.3.8
π
Recommended threads
- Edit ID of an existing collection
Hi there. Is it possible to edit an ID of an existing collection? Right now it looks impossible from AppWrite cloud at least.
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?