: 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...
I'm trying to limit my data to only docs that have the word 'foo' appear at
least once.
I am trying to use:
fq=termfreqdata,'foo'):[1+TO+*]
but I get the syntax error:
Caused by: org.apache.lucene.queryparser.classic.ParseException: Encountered
: : at line 1, column 33.
Was expecting one of:
Why doesn't AND text:foo fill this requirement?
Best
Erick
On Fri, Aug 26, 2011 at 2:27 PM, Jason Toy jason...@gmail.com wrote:
I'm trying to limit my data to only docs that have the word 'foo' appear at
least once.
I am trying to use:
fq=termfreqdata,'foo'):[1+TO+*]
but I get the syntax