On Tue, Apr 16, 2013 at 7:51 AM, Rogalon <nico.beche...@me.com> wrote:
> Hi,
> I am using pretty complex function queries to completely customize (not only
> boost) the score of my result documents that are retrieved from an index of
> approx 10e7 documents. To get to an acceptable level of performance I
> combine my query with filters in the following way (very short example):
>
> q=_val_:"sum(termfreq(fieldname,`word`),termfreq(fieldname2,`word2`))"&fq=fieldname:`word`&fq=fieldname2:`word2`
>
> Although I always have (because of the filter) approx 50.000 docs in the
> result set, the search times vary (depending on the actual query) between
> 100ms and 6000ms.
>
> My understanding was that the scoring function is only applied to the result
> set from the filters.

That should be the case.

> But based on what I am seeing it seems that a lot more
> documents are actually put through the _val_ function.

How did you verify this?

-Yonik
http://lucidworks.com

Reply via email to