lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Elschot (JIRA)" <>
Subject [jira] Commented: (LUCENE-730) Restore top level disjunction performance
Date Sun, 27 May 2007 08:51:16 GMT


Paul Elschot commented on LUCENE-730:

(Is the patch reversed? It did not apply at the first attempt,
probably because my working copy is not the same as the trunk.)
After ant clean, the boolean tests still pass here:
ant -Dtestcase='TestBool*' test-core

A slight improvement for the javadocs of
In the javadocs of the scorer() method it is indicated that a BooleanScorer2
will always be used, so it is better to mention here that BooleanScorer2
delegates to a 1.4 scorer in some cases:

   * Indicates that BooleanScorer2 will delegate
   * the scoring to a 1.4 BooleanScorer
   * for most queries without required clauses.
   * Being static, this setting is system wide.
   * Scoring in 1.4 mode may be faster.
   * But note that unlike the default behavior, it does
   * not guarantee that docs are collected in docid
   * order. In other words, with this setting,
   * {@link HitCollector#collect(int,float)} might be
   * invoked first for docid N and only later for docid N-1.
  public static void setUseScorer14(boolean use14) {
    useScorer14 = use14;

> Restore top level disjunction performance
> -----------------------------------------
>                 Key: LUCENE-730
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Paul Elschot
>         Assigned To: Michael Busch
>            Priority: Minor
>             Fix For: 2.2
>         Attachments: lucene-730.patch, lucene-730.patch, TopLevelDisjunction20061127.patch
> This patch restores the performance of top level disjunctions. 
> The introduction of BooleanScorer2 had impacted this as reported
> on java-user on 21 Nov 2006 by Stanislav Jordanov.

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