mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
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…
x
Reference in New Issue
Block a user