Advanced string search in python

I was wondering if anyone could tell me a library that can search for a string using google-ish syntax. Examples:

Google Advanced Search Syntax

Craigslist Advanced Search Syntax

So, if the request was

pizza food

and the search object was

Ray Pizza, the best food in town!

This will not result in a match. Etc etc.

+6
source share
2 answers

Whoosh is a really good, full-text search engine written in Python, has a good API and good documentation.

+3
source

Should it be Python? Because Lucene would be perfect otherwise.

0
source

Source: https://habr.com/ru/post/895559/


All Articles