Open tdscientist opened 9 years ago
Hi @tdscientist Thank you for the suggestion. It is something we have on our radar as well, but at the moment we don't have any timeframe as it requires changes to the underlying storage engine.
Hi @tdscientist Actually it would be lovely to hear more specifically what features you need. As you likely know it's a complicated topic and there are many different sub features to support. What would be the minimal support needed for it to be useful to you?
Hi @cmelchior @bmunkholm , I am too looking for full text search something similar to http://www.sqlite.org/fts3.html. I am making a chat app and it's great if I can add search over existing chat. A very raw version can be to use contains() condition on the field itself. I can think as spaced content as chain of contains. If you want to find something "arbit space". find all text with arbit and then in that result find space. Some other things I can think of is to spell correction , synonyms expansion and other things clients want to do but it is not realm's responsibilty and client can generate queries before making call to realm. What are your suggestions? The only thing I need to do is to hightlight the content so that the user know what is matched? To add is there a way to find position of matching text
Why can you not simply search the message body in Realm?
We can. It's a bad idea to do that. It searches in between words which is a really bad experience. I was wrong and I think indexing is the only solution which may be faster on core.
:+1:
+1 We are building an email client and being able to do search like "Flight to Seattle" is a big deal to the user experience.
To anyone who is interested a workaround we are using - https://gist.github.com/bangarharshit/c880c5427a0614a010e4 . It will be able to do search like "Flight to seattle", just make sure to index the field. It will find the results in which all the words match. Things like stopwords and any other search logic needs to be taken care off.
@bangarharshit thanks it solved my problem. Hopefully one such method would be integrated in Realm in the future.
Referenced in AHA: https://realmio.aha.io/epics/ROS-E-15
4 years on and no support for full text search? Guess it wasn't on your radar after all. Will look elsewhere for a product that supports this.
@JohannBlake I'm using firebase/firestore with algolia, works fine.
@JohannBlake It is a feature that we will make at some point, but you are right it hasn't been one of the top features we have prioritized above many others. Unfortunately, the time of issue creation isn't really related to priority in any way. We will get to it, but sorry we can't say when at this time.
Please upvote the Full text search feature here: https://feedback.mongodb.com/forums/923521-realm.
Hey All, Product for Realm here, we are interested in doing some user research on full-text search for the Realm SDK. If you could help us answer some questions then we can look to add this to the product roadmap. If you could please email me at ian.ward@mongodb.com we can set up a time to quickly chat - this would be greatly appreciated.
@ianpward any updates on the full text search feature development?
Currently, it sits as a high-priority backlog item - we hope to pick it up soon
need this feature
Hello,
Any news regarding this feature?
Is it still "a high-priority backlog item"?
Kindly integrate a full text search for realm