Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>elasticsearch-grails-plugin-chris</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
2 changes: 1 addition & 1 deletion grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ grails.project.dependency.resolution = {
}
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
runtime "org.elasticsearch:elasticsearch:0.90.3"
runtime "org.elasticsearch:elasticsearch:0.90.7"
runtime "org.elasticsearch:elasticsearch-lang-groovy:1.5.0"
runtime 'com.spatial4j:spatial4j:0.3'
test("org.spockframework:spock-grails-support:0.7-groovy-2.0"){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.elasticsearch.client.Client;
import org.elasticsearch.indices.IndexAlreadyExistsException;
import org.elasticsearch.transport.RemoteTransportException;
import org.elasticsearch.transport.TransportSerializationException
import org.grails.plugins.elasticsearch.ElasticSearchContextHolder;

import java.util.*;
Expand Down Expand Up @@ -104,6 +105,9 @@ public void installMappings(Collection<SearchableClassMapping> mappings) {
} catch (RemoteTransportException rte) {
LOG.debug(rte.getMessage());
}
catch(TransportSerializationException tse){
LOG.debug(tse.getMessage());
}
}

// Install mapping
Expand Down