Skip to content

Move Binary value handling from Field to BinaryField [LUCENE-3499] #4573

@asfimport

Description

@asfimport

Current Field supports Reader, String and binary values. With work on removing IndexDocValuesField, it became apparent it'd be a lot cleaner if the support for binary values was moved to BinaryField (like how NumericField supports Numbers). This would leave Field as supporting the most common usecases (Reader and String values) as well as serving as a base class for the other Field implementations in document.*. This will also prove useful when we add support for indexing binary values.


Migrated from LUCENE-3499 by Chris Male

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