How do i do (title)?
I’ve looked at the plugin “docs” on http://brian.io/lawnchair/plugins/
and with that i could see doing a search for equality, but i dont see something for .indexOf()
use case:
I want to search my db of articles for every article containing the keyword “obama”
at the minimum i’d like to see every article object with “obama” in the body field of the article.
If having keywords associated with each article would help i could add that in too, my main problem atm is just doing the search.
I ended up using regular expressions and iterating over the whole database:
If anyone has a better idea, or cleaner code, feel free to contribute.