I have a list of items as:
i = SearchQuerySet().models(Item)
now, each item in i has a attribute, price
i
price
I wan
As per the SolrQuerySyntax
Pure Negative Queries:
-field:[* TO *] finds all documents without a value for field
-field:[* TO *]
You can try:
q=(*:* -price:[* TO *]) OR price:[300 TO 400]