Permalink
Browse files

Update to handle renaming of import in elasticsearch > 0.17.0

  • Loading branch information...
1 parent 4318e2c commit 02c5cb193f57d8ed8d62382ac8ae68e2790b98bf Joe Arasin committed 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;
/**

0 comments on commit 02c5cb1

Please sign in to comment.