lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3801) Generify FST shortestPaths() to take a comparator
Date Thu, 01 Mar 2012 06:52:03 GMT


Robert Muir commented on LUCENE-3801:

looking at the benchmarks again: I think there is an "off-by-a-factor-of-one-thousand" on
the benchmark.

I could not for the life of me figure out why these suggesters would have e.g. 220QPS, but
I think instead
that the benchmark is wrong. So 200,000-210,000QPS compared to 220,000QPS really cannot matter!

If the benchmark can really satisfy 50000 queries in 220 ms, thats no 226QPS!
I'll come back with a PairOutputs test in a bit to confirm the functionality but I'm not going
to worry
about 5%/10% performance here, thats crazy.
> Generify FST shortestPaths() to take a comparator
> -------------------------------------------------
>                 Key: LUCENE-3801
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/FSTs
>    Affects Versions: 3.6, 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3801.patch
> Not sure we should do this, it costs 5-10% performance for WFSTSuggester.
> But maybe we can optimize something here, or maybe its just no big deal to us.
> Because in general, this could be pretty powerful, e.g. if you needed to store 
> some custom stuff in the suggester, you could use pairoutputs, or whatever.
> And the possibility we might need shortestPaths for other cool things... at the
> least I just wanted to have the patch up here.
> I haven't tested this on pairoutputs... but i've tested it with e.g. FloatOutputs
> and other things and it works fine.
> I tried to minimize the generics violations, there is only 1 (cannot create generic array).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message