Advanced python string search
I was wondering if anyone can point me to a library that can search a string using google-ish syntax. Examples:
Google advanced search syntax
Craigslist advanced search syntax
So if the 开发者_StackOverflow中文版query were
food -pizza
and the search subject was
Ray's Pizza, best food in town!
It would not result in a match. Etc etc.
Whoosh is really great fast, full-text search engine written in Python, it has a nice API and nice documentation.
Does it has to be Python? Because Lucene would be perfect otherwise.
精彩评论