lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4069) Segment-level Bloom filters for a 2 x speed up on rare term searches
Date Wed, 20 Jun 2012 12:27:43 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397457#comment-13397457
] 

Michael McCandless commented on LUCENE-4069:
--------------------------------------------

Results after fixing the "not downsizing" bug:

{noformat}
                Task    QPS base StdDev base   QPS bloomStdDev bloom      Pct diff
              Fuzzy1       97.02        1.43       88.67        3.08  -13% -   -4%
              Fuzzy2       42.50        1.15       40.32        1.75  -11% -    1%
         AndHighHigh       17.99        0.29       17.74        0.47   -5% -    2%
             Respell       82.76        2.96       81.66        3.54   -8% -    6%
          AndHighMed       55.77        1.02       55.06        1.51   -5% -    3%
         TermGroup1M       42.35        0.79       41.98        0.85   -4% -    3%
        TermBGroup1M       49.55        0.58       49.14        0.60   -3% -    1%
            SpanNear       12.53        0.15       12.49        0.09   -2% -    1%
      TermBGroup1M1P       64.36        0.83       64.34        0.83   -2% -    2%
             Prefix3       34.18        1.25       34.45        1.38   -6% -    8%
            Wildcard       34.42        1.12       34.75        1.35   -6% -    8%
        SloppyPhrase       11.48        0.17       11.61        0.22   -2% -    4%
              Phrase        8.47        0.30        8.57        0.25   -5% -    7%
                Term       94.06        4.50       95.45        2.34   -5% -    9%
              IntNRQ        9.84        0.63       10.07        0.71  -10% -   16%
           OrHighMed       34.57        2.07       35.78        2.24   -8% -   16%
          OrHighHigh       11.66        0.64       12.11        0.73   -7% -   16%
            PKLookup      129.75        2.37      153.80        2.31   14% -   22%
{noformat}

Basically same as before ... which is good (it means target 10% saturation doesn't lose any
perf).
                
> Segment-level Bloom filters for a 2 x speed up on rare term searches
> --------------------------------------------------------------------
>
>                 Key: LUCENE-4069
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4069
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 3.6, 4.0
>            Reporter: Mark Harwood
>            Priority: Minor
>             Fix For: 4.0, 3.6.1
>
>         Attachments: BloomFilterPostingsBranch4x.patch, MHBloomFilterOn3.6Branch.patch,
PrimaryKeyPerfTest40.java
>
>
> An addition to each segment which stores a Bloom filter for selected fields in order
to give fast-fail to term searches, helping avoid wasted disk access.
> Best suited for low-frequency fields e.g. primary keys on big indexes with many segments
but also speeds up general searching in my tests.
> Overview slideshow here: http://www.slideshare.net/MarkHarwood/lucene-bloomfilteredsegments
> Benchmarks based on Wikipedia content here: http://goo.gl/X7QqU
> Patch based on 3.6 codebase attached.
> There are no 3.6 API changes currently - to play just add a field with "_blm" on the
end of the name to invoke special indexing/querying capability. Clearly a new Field or schema
declaration(!) would need adding to APIs to configure the service properly.
> Also, a patch for Lucene4.0 codebase introducing a new PostingsFormat

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message