CipherStash
CipherStash Documentation

Querying a Dynamic Match Index

A dynamic match index indexes all strings in a record, and makes them available to search. Querying an index of this type is straightforward:

collection.query do |r|
  r.allText.match("Something Funny")
end

All records which have text that matches this (tokenized) search term will be returned.