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

Allow mapping annotations at class level #42

Open
dogawaf opened this issue Jan 16, 2016 · 1 comment
Open

Allow mapping annotations at class level #42

dogawaf opened this issue Jan 16, 2016 · 1 comment

Comments

@dogawaf
Copy link

dogawaf commented Jan 16, 2016

It would be cool to be able to define mapping at the class level.
This way, we could address the mapping for the _all field.

/**
 * @Flow\Entity
 * @ElasticSearch\Indexable("acme", typeName="organization")
 * @ElasticSearch\Mapping(index_name="_all", analyzer="standard_french")
 */
class Organization {

}
@dfeyer
Copy link
Contributor

dfeyer commented Mar 7, 2016

Nice idea, I don't have time to work on it, can you try to provide a basic PR @dogawaf I can help to make it mergeable

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

2 participants