I want to put a lot of searchable text in my software, What would be the best option for that, A database or file-Handling system? Platform will be Windows and Android.

Recommended Answers

All 2 Replies

So show us your code so far.

There is no one right answer, it depends on how complex the data and how complex the queries. If you want to do rather involved SQL type queries then you'd have to use an SQL compliant database such as MySQL. But if the file is rather small then just read it into memory once and do all the in-memory seareches you want.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.