lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (LUCENE-1345) Allow Filter as clause to BooleanQuery
Date Wed, 30 Jul 2008 21:25:31 GMT


Yonik Seeley commented on LUCENE-1345:

Eks, I just tried your first myself, and comparison with zero was faster
(as expected) by about 8%
I commented everything out except for testNew for simplicity.

Original testNew:
$ java -server -cp . TestIteratorPerf
new  milliseconds=2883
new  milliseconds=3289
new  milliseconds=3148
new  milliseconds=3195
new  milliseconds=3149
new  milliseconds=3179
new  milliseconds=3180
new  milliseconds=3164
new  milliseconds=3179
new  milliseconds=3164
new total milliseconds=31530

Modified testNew:
      // while(-1!=({
      while(( >= 0) 

$ java -server -cp . TestIteratorPerf
new  milliseconds=2806
new  milliseconds=2899
new  milliseconds=2915
new  milliseconds=2899
new  milliseconds=2914
new  milliseconds=2899
new  milliseconds=2899
new  milliseconds=3040
new  milliseconds=2899
new  milliseconds=2930
new total milliseconds=29100

System: WinXP, Pentium4, java version "1.5.0_11"

> Allow Filter as clause to BooleanQuery
> --------------------------------------
>                 Key: LUCENE-1345
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments:, DisjunctionDISI.patch, DisjunctionDISI.patch,
LUCENE-1345.patch, LUCENE-1345.patch,,,

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message