Skip to content

Autogenerated Id... #13

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

Open
michaelfreitag opened this issue Mar 1, 2013 · 3 comments
Open

Autogenerated Id... #13

michaelfreitag opened this issue Mar 1, 2013 · 3 comments
Assignees

Comments

@michaelfreitag
Copy link

Hi,

if I want to index without an id is set an exception occours. I there support of elasticsearch autogenerated id feature?

rgds,
Michael

@mohsinh
Copy link
Member

mohsinh commented Mar 4, 2013

Thanks for pointing that out !

Yes we have forced to have Id field in an entity, which is not feasible !
I will have new patch for auto generated Id if it is not specified later on today.

Mohsin

@ghost ghost assigned mohsinh Mar 4, 2013
@mohsinh
Copy link
Member

mohsinh commented Mar 5, 2013

Added support with c689470 commit for random id if entity does not have one.
please also have a look at sample test case at Test Case

Thanks

@mohsinh mohsinh closed this as completed Mar 5, 2013
@mohsinh
Copy link
Member

mohsinh commented Mar 19, 2013

Reopened as Entity is not allowed without Id,
reverted the code , will add support for this feature soon

@mohsinh mohsinh reopened this Mar 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants