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:
Robert Muir 2010-05-14 06:12:15 +00:00
parent 57074100f7
commit f753fb2873
1 changed files with 5 additions and 0 deletions

View File

@ -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;