Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants