开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜