On Mon, Apr 3, 2017 at 5:37 PM, Kevin Powick <kpow...@gmail.com> wrote:
> Why put the documents in a database on your server at all? Just store the > document in the file system with a unique ID. > FTS - Full Text Scan. https://en.wikipedia.org/wiki/Full-text_search Many database systems support this. Two that I know of are PostgreSQL and SQLITE3. These both allow you do to "Google-like" queries to find a document. https://www.postgresql.org/docs/current/static/textsearch.html https://sqlite.org/fts3.html Of course, there are other things which do also. > > In the database just store the ID and file location with any other > relevant meta information (user, author, title, etc.). This will certainly > keep your database less bloated and more performant. > > -- > Kevin Powick > > -- "Irrigation of the land with seawater desalinated by fusion power is ancient. It's called 'rain'." -- Michael McClary, in alt.fusion Maranatha! <>< John McKown -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.