Skip to content

Implement better equals() on PostingsFormats where possible [LUCENE-4093] #5165

@asfimport

Description

@asfimport

As of #5162, 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.


Migrated from LUCENE-4093 by Robert Muir (@rmuir)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions