Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to lucene 8.0.0-snapshot-ff9509a8df #39350

Merged
merged 5 commits into from
Feb 27, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
elasticsearch = 8.0.0
lucene = 8.0.0-snapshot-83f9835
lucene = 8.0.0-snapshot-ff9509a8df

# optional dependencies
spatial4j = 0.7
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6b487ff516c053fae3fa270cd51964534f46b628

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
116fed6827a68b78b46a1eadfda1e27936b171a1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c39659fa1684742370dfabf37641e41394ac4799

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
51e35640ceac2e4801b9be1263c7bea8637c7ad7

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bd8f2fe37a3e2f1c4d052071ceba618e6d16f119

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
022de0054e9597d16f366bb83d6404d2006dcecf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6cff98d0fdbb6d2d65ce9051005954f5b565986c

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
438537046ef60d75f17358bf09bb339aa84191e5

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d96364f1b6a041f797e3d5f55b45284d8ab5cf95

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a39f5683e6e6ce17a191dd5fcbf90fcc43d25109

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
283cbab4d58f18fd4eed169448bd0114e5d7c971

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e63de6e4690f844b571edef03e4029a63bf2458b

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
097cfc9ed8575c845c32f80745af11c04aaa6541

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a1b20c5408c9a1d2fec4604dc66b3d54bf91f84c

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14bf9224dd2cd13d81ff90a43af713bda9c5b699

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
79be1830102a764d79da6c81d40f5f6bf85ad032

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3f7281351f03ac34c8a950e667e826053b82f31e

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
039229d20cb500de435b458998aa35370c616f69

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
00cee2f9ff5fcaa3ac3838f2d8b0c8b59c55e4a6

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4246d1cc124eb7b2d18ccee1db96b5999ae45b95

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
caa0c22ce9a985f4a7a76c315ac8841d37083c2b

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7d01e71c2e2e9fd5a2ad1f397bf75de12b860fab

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fd72490e235dffbf455886d4a4339dd29f4ccd5b
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

import com.carrotsearch.hppc.ObjectLongHashMap;
import com.carrotsearch.hppc.cursors.ObjectLongCursor;
import org.apache.lucene.index.BaseTermsEnum;
import org.apache.lucene.index.Fields;
import org.apache.lucene.index.ImpactsEnum;
import org.apache.lucene.index.PostingsEnum;
Expand Down Expand Up @@ -229,7 +230,7 @@ public TermsEnum iterator() throws IOException {
// reset before asking for an iterator
reset();
// convert bytes ref for the terms to actual data
return new TermsEnum() {
return new BaseTermsEnum() {
int currentTerm = 0;
int freq = 0;
int docFreq = -1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.index.PostingsEnum;
import org.apache.lucene.index.TermState;
import org.apache.lucene.index.Terms;
import org.apache.lucene.index.TermsEnum;
import org.apache.lucene.search.DocIdSetIterator;
Expand All @@ -32,6 +33,7 @@
import org.apache.lucene.search.ScoreMode;
import org.apache.lucene.search.Scorer;
import org.apache.lucene.search.Weight;
import org.apache.lucene.util.AttributeSource;
import org.apache.lucene.util.BitSet;
import org.apache.lucene.util.Bits;
import org.apache.lucene.util.BytesRef;
Expand Down Expand Up @@ -126,6 +128,11 @@ public BytesRef term() throws IOException {
return current;
}

@Override
public AttributeSource attributes() {
throw new UnsupportedOperationException(UNSUPPORTED_MESSAGE);
}

@Override
public boolean seekExact(BytesRef text) throws IOException {
int docFreq = 0;
Expand Down Expand Up @@ -195,6 +202,16 @@ public void seekExact(long ord) throws IOException {
throw new UnsupportedOperationException(UNSUPPORTED_MESSAGE);
}

@Override
public void seekExact(BytesRef term, TermState state) throws IOException {
throw new UnsupportedOperationException(UNSUPPORTED_MESSAGE);
}

@Override
public TermState termState() throws IOException {
throw new UnsupportedOperationException(UNSUPPORTED_MESSAGE);
}

@Override
public SeekStatus seekCeil(BytesRef text) throws IOException {
throw new UnsupportedOperationException(UNSUPPORTED_MESSAGE);
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
283cbab4d58f18fd4eed169448bd0114e5d7c971