Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Objects from the from the subclasses don't appear in the main class search #178

Open
bruno-lopes opened this issue Oct 11, 2016 · 0 comments
Assignees
Labels

Comments

@bruno-lopes
Copy link

Hi,

I have the following classes in my application:

class User {
    String username
    String password
    static searchable = true
}

class PersonUser extends User{
....
}


class SystemUser extends User{
....
}

Since the class User is marked as searchable, I can make queries on it, but none of the objects from the subclasses are listed by Elasticsearch. Is it possible to search the User class, and get results rom the subclasses? How?

Thanks in advance.

@puneetbehl puneetbehl self-assigned this Jan 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants