Skip to content

Added @DynamicTemplates annotation #132

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

Closed
wants to merge 6 commits into from

Conversation

kukisak
Copy link

@kukisak kukisak commented Dec 22, 2015

Hi, I added new DynamicTemplates annotation to enable dynamic mapping of indexAnalyzer and searchAnalyzer on fields annotated like @field(type = FieldType.Object). This is alternative to static mapping via @mapping annotation but more flexible. We found it very useful in our project. Please pull it to master branch if you find it handy.

Petr

@jbesta
Copy link

jbesta commented Jan 14, 2016

+1

@mohsinh mohsinh self-assigned this Mar 15, 2016
@javamachr
Copy link

+1

@molotowitz
Copy link

Any news on this?

@Rajind
Copy link

Rajind commented Jun 22, 2016

Is there no other way to define dynamic template mapping in spring-data-elasticsearch other than this pull request ?

@kukisak
Copy link
Author

kukisak commented Aug 19, 2016

Hi, sorry for late reponse. I overlook your comment. I looked for some way to define it but this feature is missing in spring-data-elasticsearch. Thats the reason for this pull request. But you can rewrite it by your own as you wish.

@kukisak
Copy link
Author

kukisak commented Oct 3, 2016

@Rajind are there any news about this feature? We would like to update to newer version of spring-data-elasticsearch but we are blocked by this feature. We will appreciate if you merge it to master and close it.

@Rajind
Copy link

Rajind commented Oct 4, 2016

@kukisak I moved to native elastic-search for my project and hence I have no news on this. Regarding merging, I believe you should ask @mohsinh

@kukisak
Copy link
Author

kukisak commented Oct 4, 2016

@mohsinh Do you have any news about this? We will appreciate your collaboration.

@mohsinh
Copy link
Contributor

mohsinh commented Oct 14, 2016

@kukisak

Hello,

Sorry for late reply.

Can you rebase your branch with master ? also you need to add test(s) to cover the feature you are proposing. we will review it asap once you rebase and add some working test.

Petr Kukrál added 3 commits October 17, 2016 20:05
Conflicts:
	src/main/java/org/springframework/data/elasticsearch/core/MappingBuilder.java
	src/test/java/org/springframework/data/elasticsearch/core/SimpleElasticsearchDateMappingTests.java
@kukisak
Copy link
Author

kukisak commented Oct 18, 2016

@mohsinh

Hi,

I updated code, tests and rebased it to ES 2.1.0 master branch. You can now review it. Thanks.

@kukisak
Copy link
Author

kukisak commented Dec 2, 2016

@mohsinh any news?

@addmaths07
Copy link

I'm waiting for the same!

@ssudekum
Copy link

+1

@pivotal-issuemaster
Copy link

@kukisak Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@kukisak Thank you for signing the Contributor License Agreement!

@sothawo
Copy link
Collaborator

sothawo commented Aug 5, 2019

implemented and already merged with #238

@sothawo sothawo closed this Aug 5, 2019
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

Successfully merging this pull request may close these issues.

10 participants