Hi, I am trying to apply a post filter by using frange and in the same filter, 
I also need to use boolean queries. When I try this, I get Syntax error. Is 
there a way to achieve this without writing my own Post Filter Class?
Here is what the query & fq looks like:
q=Name:test*
fq={!frange l=0 u=0 cost=100 cache=false} (Category: category1) AND 
sub(NumDomains,sum(termfreq(Domain,domain1), termfreq(Domain,domain2), 
termfreq(Domain,domain3))) AND ((Author: author1) OR ((Type:(type1 OR type2)) 
AND (Id: id1 or id2))) Error Message:"error": {  "msg": 
"org.apache.solr.search.SyntaxError: Expected identifier at pos 1 str=' 
(Category: category1) AND sub(NumDomains,sum(termfreq(Domain,domain1), 
termfreq(Domain,domain2), termfreq(Domain,domain3))) AND ((Author: author1) OR 
((Type:(type1 OR type2)) AND (Id: id1 or id2)))'"  "code": 400}  Thanks,Vasu

Reply via email to