Hi all,
I am currently finding it difficult to perform an AND operation by chaining the query from the query string. E.g. if my query string has the values "coffee mba" without the quotes, I am not able to do anything more than:
query_operation = request.GET['query_operation']
if query_operation == 'and':
query_terms = query.split()
for term in query_terms:
q = solr.Q("%s") % term ### Not sure about this line, I can't even do q &= ..
Can someone kindly help in how to concatenate this query?
Thanks a lot for your help in advance.
Best wishes,
Masud