[jira] [Created] (LUCENE-4093) Implement better equals() on PostingsFormats where possible

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (LUCENE-4093) Implement better equals() on PostingsFormats where possible

JIRA jira@apache.org
Robert Muir created LUCENE-4093:
-----------------------------------

             Summary: Implement better equals() on PostingsFormats where possible
                 Key: LUCENE-4093
                 URL: https://issues.apache.org/jira/browse/LUCENE-4093
             Project: Lucene - Java
          Issue Type: Bug
          Components: core/index
            Reporter: Robert Muir


As of LUCENE-4090, we use HashMap to deduplicate per-field configurations, but all PostingsFormats still implement Object.hashCode/equals.

This is fine, but it means more files etc could be created than are really necessary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]