Skip to content

Loading…

Update for elasticsearch 0.18.7 #2

Merged
merged 1 commit into from

2 participants

@joearasin

In elasticsearch 0.17, there was a refactoring of the querybuilders, breaking wonderdog. Switching around the imports should fix it.

@kornypoet kornypoet merged commit 17784eb into infochimps-labs:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 23, 2012
Showing with 10 additions and 10 deletions.
  1. +7 −7 README.textile
  2. +1 −1 pom.xml
  3. +2 −2 src/main/java/com/infochimps/elasticsearch/ElasticSearchInputFormat.java
View
14 README.textile
@@ -16,15 +16,15 @@ This allows you to store tabular data (eg. tsv, csv) into elasticsearch.
<pre><code>
register 'target/wonderdog.jar';
-register '/usr/local/share/elasticsearch/lib/elasticsearch-0.16.0.jar';
+register '/usr/local/share/elasticsearch/lib/elasticsearch-0.18.7.jar';
register '/usr/local/share/elasticsearch/lib/jline-0.9.94.jar';
register '/usr/local/share/elasticsearch/lib/jna-3.2.7.jar';
-register '/usr/local/share/elasticsearch/lib/log4j-1.2.15.jar';
-register '/usr/local/share/elasticsearch/lib/lucene-analyzers-3.1.0.jar';
-register '/usr/local/share/elasticsearch/lib/lucene-core-3.1.0.jar';
-register '/usr/local/share/elasticsearch/lib/lucene-highlighter-3.1.0.jar';
-register '/usr/local/share/elasticsearch/lib/lucene-memory-3.1.0.jar';
-register '/usr/local/share/elasticsearch/lib/lucene-queries-3.1.0.jar';
+register '/usr/local/share/elasticsearch/lib/log4j-1.2.16.jar';
+register '/usr/local/share/elasticsearch/lib/lucene-analyzers-3.5.0.jar';
+register '/usr/local/share/elasticsearch/lib/lucene-core-3.5.0.jar';
+register '/usr/local/share/elasticsearch/lib/lucene-highlighter-3.5.0.jar';
+register '/usr/local/share/elasticsearch/lib/lucene-memory-3.5.0.jar';
+register '/usr/local/share/elasticsearch/lib/lucene-queries-3.5.0.jar';
%default INDEX 'ufo_sightings'
%default OBJ 'ufo_sighting'
View
2 pom.xml
@@ -18,7 +18,7 @@
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
- <version>0.16.0</version>
+ <version>0.18.7</version>
</dependency>
<dependency>
View
4 src/main/java/com/infochimps/elasticsearch/ElasticSearchInputFormat.java
@@ -27,8 +27,8 @@
import org.elasticsearch.search.SearchHit;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.action.search.SearchType;
-import org.elasticsearch.index.query.xcontent.FilterBuilders.*;
-import org.elasticsearch.index.query.xcontent.QueryBuilders;
+import org.elasticsearch.index.query.FilterBuilders.*;
+import org.elasticsearch.index.query.QueryBuilders;
/**
Something went wrong with that request. Please try again.