Shai Erera created LUCENE-5020: ---------------------------------- Summary: Make DrillSidewaysResult ctor public Key: LUCENE-5020 URL: https://issues.apache.org/jira/browse/LUCENE-5020 Project: Lucene - Core Issue Type: Improvement Components: modules/facet Reporter: Shai Erera Assignee: Shai Erera Priority: Minor
DrillSidewaysResult has a package-private ctor which prevents initializing it by an app. I found that it's sometimes useful for e.g. doing some post-processing on the returned TopDocs or List<FacetResult>. Since you cannot return two values from a method, it will be convenient if method could return a new 'processed' DSR. I would also like to make the hits member final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org