lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: custom filterquery
Date Thu, 01 Sep 2011 18:24:00 GMT

: 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

Mime
View raw message