Offline full-text search in Flutter

658 views
Skip to first unread message

Suzuki Tomohiro

unread,
Feb 12, 2020, 11:52:08 PM2/12/20
to Flutter Development (flutter-dev)
Hi Flutter developers,

Does anybody have any recommendation on how to implement full-text search capability that work without Internet access?
I'm thinking about ~200 documents, each of which contains English and Japanese words.

Interface part seems easy [1] but I couldn't find how to store index for words. Something similar to Elasticsearch.


Regards,
Tomo

Mutlu Şimşek

unread,
Feb 13, 2020, 4:10:01 AM2/13/20
to Suzuki Tomohiro, Flutter Development (flutter-dev)
I am not sure if this is what you want but there is a fuzzy search package:  https://pub.dev/packages/fuzzy

There is also another package for the UI but it is using bloc_pattern: https://pub.dev/packages/search_app_bar
You may want to use it with bloc pattern or take the source code and implement your own pattern.

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/CAHWORbofpFjXGgS%2B8y-8rzMJzc%2BG4SiTf5OP2BtLF_CRSN-pzg%40mail.gmail.com.

Suzuki Tomohiro

unread,
Feb 13, 2020, 7:52:09 PM2/13/20
to Mutlu Şimşek, Flutter Development (flutter-dev)
Hi Mutlu and Kyle,

Thank you for response. It seems beyond my capability. Giving up for now in favor of other online solution.
Reply all
Reply to author
Forward
0 new messages