mirror of https://github.com/apache/lucene.git
add a temporary workaround for the sort order problem
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@944130 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
57074100f7
commit
f753fb2873
|
@ -158,6 +158,11 @@ public class AutomatonTermsEnum extends FilteredTermsEnum {
|
|||
// seek to the next possible string;
|
||||
if (nextString()) {
|
||||
// reposition
|
||||
|
||||
// FIXME: this is really bad to turn off
|
||||
// but it cannot work correctly until terms are in utf8 order.
|
||||
linear = false;
|
||||
|
||||
if (linear)
|
||||
setLinear(infinitePosition);
|
||||
return seekBytesRef;
|
||||
|
|
Loading…
Reference in New Issue