You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2013/05/28 07:08:19 UTC

[jira] [Created] (LUCENE-5020) Make DrillSidewaysResult ctor public

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org