Answer the question
In order to leave comments, you need to log in
I want to do a live search by locality, where to store the data?
Settlements 15000. Store them in sqlite or take data from the server, how is this done correctly?
Answer the question
In order to leave comments, you need to log in
look in the direction of Dadata, maybe you don’t need it, but you never know)
If us. items will change infrequently - store in sqlite, there are advanced full-text search capabilities, and ordinary queries will work out a fraction of a second on such a volume. When changing the data set, they can be re-uploaded from the server to the local sqlite.
If frequent or online data changes are implied, then it is better to pull them online.
There is an interesting JS base solution, request processing is instant and there is a search - https://github.com/louischatriot/nedb
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question