upgrade to lucene 5 snapshot

This commit is contained in:
Robert Muir 2014-11-05 17:12:54 -05:00
parent 00a1352d90
commit bb49554c33
2 changed files with 8 additions and 4 deletions

View File

@ -33,8 +33,8 @@
<properties>
<elasticsearch.version>2.0.0-SNAPSHOT</elasticsearch.version>
<lucene.version>4.10.2</lucene.version>
<lucene.maven.version>4.10.2</lucene.maven.version>
<lucene.version>5.0.0</lucene.version>
<lucene.maven.version>5.0.0-snapshot-1636426</lucene.maven.version>
<tests.jvms>1</tests.jvms>
<tests.shuffle>true</tests.shuffle>
<tests.output>onerror</tests.output>
@ -47,6 +47,10 @@
<id>sonatype</id>
<url>http://oss.sonatype.org/content/repositories/releases/</url>
</repository>
<repository>
<id>Lucene snapshots</id>
<url>https://download.elasticsearch.org/lucenesnapshots/maven/</url>
</repository>
</repositories>
<dependencies>

View File

@ -19,7 +19,7 @@
package org.elasticsearch.script.javascript;
import org.apache.lucene.index.AtomicReaderContext;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.search.Scorer;
import org.elasticsearch.common.Nullable;
import org.elasticsearch.common.component.AbstractComponent;
@ -230,7 +230,7 @@ public class JavaScriptScriptEngineService extends AbstractComponent implements
}
@Override
public void setNextReader(AtomicReaderContext context) {
public void setNextReader(LeafReaderContext context) {
lookup.setNextReader(context);
}