You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chris Hostetter <ho...@fucit.org> on 2011/09/01 20:24:00 UTC
Re: custom filterquery
: pricing. I have written a functionquery to get the pricing, which works
: fine as part of the search query, but doesn't seem to be doing anything when
: I try to use it in a filter query. I wrote my pricing function query based
how are you trying to use it in a filter query?
function queries by definition match all documents -- the function value
just determines the score.
If you want to filter on a function query you have to use something like
the frange parser to specify that only certian function values should
match...
https://lucene.apache.org/solr/api/org/apache/solr/search/FunctionRangeQParserPlugin.html
-Hoss