We are reaching a phase in our project now where we would like to search in our documents with a regex that match some strings. CouchDB does now allow it with the 2.0 version and /db/_find which is great. Before that you would need to use Elasticsearch.
I would like to know if one solution is better that the other, and what are to consequences in term of disk storage ? I saw in CouchDB documentation a lot of warning about the /bd/_find feature, for instance :
Regular expressions do not work with indexes, so they should not be used to filter large data sets.
Thanks in advance for your enlightenment