Skip to content

Autogenerated Id... #13

Open
Open
@michaelfreitag

Description

@michaelfreitag

Hi,

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

rgds,
Michael

Activity

mohsinh

mohsinh commented on Mar 4, 2013

@mohsinh
Member

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 assigned on Mar 4, 2013
mohsinh

mohsinh commented on Mar 5, 2013

@mohsinh
Member

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 commented on Mar 19, 2013

@mohsinh
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @michaelfreitag@mohsinh

      Issue actions

        Autogenerated Id... · Issue #13 · SpringDataElasticsearchDevs/spring-data-elasticsearch