You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def u = new User(firstname:'Jeff',lastname:'Winkler', password:'foo').save()
def tgroovy = new Tag(name:'Groovy').save()
def tgrails = new Tag(name:'Grails').save()
new Tweet ( user:u, tags:[tgroovy,tgrails], message:'Grails where queries look fantastic').save()
Property Tweet.tags is not mapped as [component], but broken search hit found.
The data map in DomainClassUnmarshaller.unmarshallProperty() is {id=1, name=Groovy, class=search.Tag}.
The example page does not have tags as component:true. Doing so results in:
MergeMappingException: Merge failed with failures {[mapper [tags.id] has different index values, mapper [tags.name] has different term_vector values, mapper [tags.class] has different index values, mapper [tags.class] has different index_analyzer, mapper [tags.class] has different search_analyzer]}
If it'll help, I'll check the project into github?
The text was updated successfully, but these errors were encountered:
Hi,
I'm following the example from http://smaldini.github.com/elasticsearch-grails-plugin/docs/guide/8.%20Example.html.
Bootstrap data:
Hitting http://localhost:8080/search/elasticSearch/searchAll?query=grails matches both the tweet and the tag. The tag is fine, but unmarshalling the tweet fails with:
The data map in DomainClassUnmarshaller.unmarshallProperty() is {id=1, name=Groovy, class=search.Tag}.
The example page does not have tags as component:true. Doing so results in:
If it'll help, I'll check the project into github?
The text was updated successfully, but these errors were encountered: