3 ms·
Since most deployed applications search with: "for item in ... if item.containsSubstring(query)" I would say it's definitely useful for real apps.
by sicp-enjoyer 4y ago
Since most deployed applications search with:
"for item in ... if item.containsSubstring(query)"
I would say it's definitely useful for real apps.
- piyh 4y agoIt's a spectrum . On the left is the incredibly common use cases of inefficient substring search over small datasets that works more often than O(1) purists would like. To the right of that is where db fts rules, it's a comfortable but small niche. Once you start exiting that and start touching document search, being able to sort on relevance OR date with indexes, or any data ingestion killing search latency, you will have wished you went to the vast and uniform area to the right of db fts called elastic search. That is where I found myself. If search is not integral to your product, by all means avoid the complexity and curve that is elastic and be happy that you did.