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 s d <s....@gmail.com> on 2008/01/08 10:01:41 UTC

Performance - FunctionQuery

Adding a FunctionQuery made the query response time slower by ~300ms, adding
a 2ndFunctionQuery added another ~300ms so overall i got over 0.5sec for a
response time (slow).Is this expected or am i doing something wrong ?
Thx

Re: Performance - FunctionQuery

Posted by Yonik Seeley <yo...@apache.org>.
On Jan 8, 2008 9:30 AM, Ryan McKinley <ry...@gmail.com> wrote:
> whats the function?  how many matching documents?

Right... and remember that the first time you use a field in a
function query has the same cost as sorting on a field (a cache entry
needs to be generated).  Try further queries or other functions using
the same field.

-Yonik

Re: Performance - FunctionQuery

Posted by Ryan McKinley <ry...@gmail.com>.
whats the function?  how many matching documents?

s d wrote:
> Adding a FunctionQuery made the query response time slower by ~300ms, adding
> a 2ndFunctionQuery added another ~300ms so overall i got over 0.5sec for a
> response time (slow).Is this expected or am i doing something wrong ?
> Thx
>