I am developing an offline-first iOS app that will leverage couchbase-lite but also has an HTML web interface.
The dataset is a product catalog that needs an Amazon.com style faceted search across an arbitrary set of product attributes with full-text query capabilities available offline for iOS.
Offline support for iOS is critical, as it will be used by agents in the field with llittle-to-no Internet connection.
Elasticsearch could take care of my problems for the web interface where offline capabilities are not so much of an issue, but I’m lost as to how to handle it for iOS?
Ideally I’d like a solution that can share as much code as possible and would produce the same results on web or mobile.
Can anyone suggest something I should try? Has anyone successfully created something similar before that can offer guidance? Any help at all is great appreciated.