Skip to content

Support unsigned long field type in painless #64361

Closed
@stu-elastic

Description

@stu-elastic

The casting model needs to be overhauled to support the unsigned long field type, added in 60050, as this type can return a BigInteger.

Type promotion in the casting model works well for primitive types, String and def.

The def type is tricky to handle with boxed types and type promotion, the current model has limited support for boxed types.

As this is a major rework on a subtle subsystem, we should look toward interim support for unsigned long.

@jimczi @mayya-sharipova what do you think about having unsigned long field return doubles for ScriptDocValues?

Relates: #64347

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions