This isn't really a complex problem (to my knowledge).
I know in MongoDB you can feed in a string and it automatically tokenizes and performs full-text search using that string as a query.
However, in Django, I have yet to find similar functionality, and all of the examples I've seen have done something along the lines of:
from django.contrib.postgres.search import SearchQuery
query = SearchQuery('foo')
Is the reason people only use one word because SearchQuery can only use one word?
What I want to know is how to perform full-text search with multiple words. Is it as easy as doing
from django.contrib.postgres.search import SearchQuery
query = SearchQuery('foo and also bar')
? Or does it need to be more complicated than that?