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

more than one @IndexType in model #65

Open
mantsak opened this issue Jun 22, 2015 · 1 comment
Open

more than one @IndexType in model #65

mantsak opened this issue Jun 22, 2015 · 1 comment

Comments

@mantsak
Copy link

mantsak commented Jun 22, 2015

In sample/app/indexing/Team.java the index type is being set like this:

@IndexType(name = "team")

How can this be set to several or all types? I tried

@IndexType(name = "teama,teamb,teamc") for several types
@IndexType(name = "*") for all types

When leaving @IndexType out and just setting @IndexName I get a NullPointerException.

@mantsak
Copy link
Author

mantsak commented Jun 26, 2015

I was just discussing the same issue with @eduardofcbg who is also developing a Play2/ES module which works with the current Play 2.4.1 version at https://github.com/eduardofcbg/playframework2-elasticsearch

There is no need to enhance the @IndexType here and the issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant