Skip to content

Getting class_cast_exception when trying to use profile:true with sltr query #426

@ayushKataria

Description

@ayushKataria

When I try to run a query where there is a must or should clause in the query and in rescore I have an sltr query with my model, I get the below error

class org.elasticsearch.search.profile.query.ProfileScorer cannot be cast to class com.o19s.es.explore.PostingsExplorerQuery$PostingsExplorerScorer (org.elasticsearch.search.profile.query.ProfileScorer is in unnamed module of loader 'app'; com.o19s.es.explore.PostingsExplorerQuery$PostingsExplorerScorer is in unnamed module of loader java.net.FactoryURLClassLoader @55d99dc3)

Can someone help with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions