solrj - How to tag two filters which are joined by "AND" operator in Solr? -
i'm using solr 4.0 want tag 2 filters joined "and" operators.
e.g query
(f_memory:1+gb) , (manufacturer:asus)
i want tag this
{!tag=dm}(f_memory:1+gb) , {!tag=dt}(manufacturer:asus)
but i'm getting error
org.apache.lucene.queryparser.classic.parseexception: cannot parse '(f_memory:1+gb) , {!tag=dt}(manufacturer:asus)': encountered " "}" "} "" @ line 1, column 28. expecting 1 of: "to" ... <range_quoted> ... <range_goop> ..
any idea how it?
you can try separating them effect of and
same.
fq={!tag=dm}(f_memory:1+gb)&fq={!tag=dt}(manufacturer:asus)
Comments
Post a Comment