[ 
https://issues.apache.org/jira/browse/LUCENE-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Busch updated LUCENE-730:
---------------------------------

    Attachment: lucene-730.patch

New patch that deprecates the useScorer14 methods and adds new
methods:

  /**
   * Indicates whether hit docs may be collected out of docid
   * order. In other words, with this setting, 
   * [EMAIL PROTECTED] 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: https://issues.apache.org/jira/browse/LUCENE-730
>             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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to