Hi Rodrigo, I'm not sure I follow the question, so I'll simply suggest using &debugQuery=true as step one.
But yes, if "the" is a stop word and if stop words are being removed from queries, then field:the will have no effect, yes. Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ ----- Original Message ---- > From: Rodrigo Rezende <rcreze...@gmail.com> > To: solr-user <solr-user@lucene.apache.org> > Sent: Thu, October 7, 2010 4:03:57 PM > Subject: subquery with stopwords > > I'm not sure but it seems to me that subqueries "query(.)" [ > http://wiki.apache.org/solr/FunctionQuery#query ] with only stopwords are > evaluated forall documents. > Example: > > q={!func}myFunction(query(field:the))&fq=field:(helloworld) > > Since "the" is a stopword for field "field", query(field:the) will return 0 > always. That's ok! > But, by the same reason, itsn't necessary call query, is it? > > How can I check if the score of query(field:the) is evaluated always? If it > happens, is this necessary? > > Thank you. >