lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <>
Subject [jira] Updated: (LUCENE-730) Restore top level disjunction performance
Date Sun, 27 May 2007 19:21:16 GMT


Michael Busch updated LUCENE-730:

    Attachment: lucene-730.patch

New patch that deprecates the useScorer14 methods and adds new

   * Indicates whether hit docs may be collected out of 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.
   * Being static, this setting is system wide.
   * If docs out of order are allowed scoring might be faster
   * for certain queries (disjunction queries with less than
   * 32 prohibited terms). This setting has no effect for 
   * other queries.
  public static void setAllowDocsOutOfOrder(boolean allow);
   * Whether hit docs may be collected out of docid order.
   * @see #setAllowDocsOutOfOrder(boolean)
  public static boolean getAllowDocsOutOfOrder();

I think this is easier to understand for the users because it 
tells them what they need to know (docs in or out of order) 
and hides technical details (BooleanScorer vs. BooleanScorer2).

All tests pass.

> 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, 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