lucene 4: use the proper token stream to return
This commit is contained in:
parent
a10f60873c
commit
cb5df26bf7
|
@ -57,7 +57,7 @@ public class AllField extends Field {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TokenStream tokenStreamValue() {
|
public TokenStream tokenStream(Analyzer analyzer) throws IOException {
|
||||||
try {
|
try {
|
||||||
allEntries.reset(); // reset the all entries, just in case it was read already
|
allEntries.reset(); // reset the all entries, just in case it was read already
|
||||||
return AllTokenStream.allTokenStream(name, allEntries, analyzer);
|
return AllTokenStream.allTokenStream(name, allEntries, analyzer);
|
||||||
|
|
Loading…
Reference in New Issue