Right now my Rails application allows users to search only the database fields. They can upload a picture and then search with the name. I am also extracting the metadata and storing it in YAML files. So for fileA, the metadata is stored in fileA.yml file.
With Elasticsearch, I was able to index the table 'file' and allow users to search according to filetype, filename, etc. (whatever's stored on the DB). However, I'd like to provide a metadata search also, so how do I index that file's YAML file also?
I'm okay with switching to some other search provider, like Solr, if it's needed also.