: Why doesn't " AND text:foo" fill this requirement?

or fq=text:foo (if you don't want it to affect scoring, and it sounds 
like you don't)

But since you asked: if you want to use functions in "fq" you have to tell 
solr to parse it as a function.  There are a variaty of options...

https://wiki.apache.org/solr/FunctionQuery#Using_FunctionQuery

...but for an "fq" you'll probably want to use the "frange" QParser (since 
your goal is to limit matches based on the value of a function)...

https://lucene.apache.org/solr/api/org/apache/solr/search/FunctionRangeQParserPlugin.html



-Hoss

Reply via email to