Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
upgrade to 5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry.kan committed Mar 17, 2016
1 parent 7d7ef3e commit bf87e0f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 29 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<properties>
<jdk.version>1.7</jdk.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<lucene.version>5.4.1</lucene.version>
<lucene.version>5.5.0</lucene.version>
<ehcache.version>2.9.0</ehcache.version>
<hadoop.version>1.2.1</hadoop.version>
<log4j.version>1.2.17</log4j.version>
Expand Down
19 changes: 5 additions & 14 deletions src/main/java/org/apache/lucene/luke/core/NoScoringScorer.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.apache.lucene.luke.core;

import org.apache.lucene.search.DocIdSetIterator;
import org.apache.lucene.search.Scorer;

import java.io.IOException;
Expand All @@ -22,23 +23,13 @@ public int docID() {
}

@Override
public int nextDoc() throws IOException {
return 0;
}

@Override
public int advance(int i) throws IOException {
return 0;
}

@Override
public long cost() {
return 0;
public int freq() throws IOException {
return 1;
}

@Override
public int freq() throws IOException {
return 1;
public DocIdSetIterator iterator() {
return null;
}

}
19 changes: 5 additions & 14 deletions src/main/java/org/getopt/luke/NoScoringScorer.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.getopt.luke;

import org.apache.lucene.search.DocIdSetIterator;
import org.apache.lucene.search.Scorer;

import java.io.IOException;
Expand All @@ -22,23 +23,13 @@ public int docID() {
}

@Override
public int nextDoc() throws IOException {
return 0;
}

@Override
public int advance(int i) throws IOException {
return 0;
}

@Override
public long cost() {
return 0;
public int freq() throws IOException {
return 1;
}

@Override
public int freq() throws IOException {
return 1;
public DocIdSetIterator iterator() {
return null;
}

}

0 comments on commit bf87e0f

Please sign in to comment.