On Fri, Nov 11, 2011 at 12:53 AM, Marvin Humphrey
<[email protected]> wrote:
> We can eliminate the duplicated effort by performing the weighting manually
> and supplying the weighted query object to both Searcher#hits and
> Highlighter#new.  (You'll need the latest trunk because this sample code
> requires a patch from LUCY-188 I committed earlier today.)

Wow, the logs don't lie - from 8s to <1s.

I think a few slaps on the back are in order!

new
2011-11-11 09:49:37: 29208: 133,158,641 hits in 20.96s
2011-11-11 09:49:37: 29208: pre-while-hits-next

old
2011-11-10 14:12:22: 18171: 133,158,641 hits in 20.82s
2011-11-10 14:12:30: 18171: pre-while-hits-next

Thank you so much for that vitally important improvement.
Now don't be too shocked by that 20s search response time...  I keep
reminding myself to always divide by $cluster_nodes, then I feel
better, knowing the solution is nigh :D

Reply via email to