On Thu, Nov 17, 2011 at 2:59 PM, Brian Lamb
<[email protected]> wrote:
> http://localhost:8983/solr/mycore/search/?q=test {!boost b=2}
>
> it is still really slow. Is there a different approach I should be taking?
I just tried what something similar to this (a non-boosted query vs a
simple boosted query)
on a 10M document test index.
#Non boosted
q=myfield:[* TO *] dummy_i:1
#Boosted
q={!boost b=2 v=$qq}
qq=myfield:[* TO *] dummy_i:1
Notes:
- the dummy was just used to change the query so there would be no
cache it (I set it to something different for each try)
- "myfield" is a single valued field that only has 10 unique terms
(so the range query should be fast), and does select all 10M docs
My results: normal=386ms boosted=481ms
-Yonik
http://www.lucidimagination.com