lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <>
Subject extends LuceneTestCase, avoid preflex codec?
Date Wed, 30 Mar 2011 16:26:00 GMT
I have a test framework that extends LuceneTestCase and tests a bunch
of spatial indexing strategies.

One strategy writes binary tokens (eventually this should be CSF) and
i'm getting an error when it hits the preflex codec.

Is there a way to avoid this?

 Time elapsed: 0.231 sec  <<< FAILURE!
	at org.apache.lucene.util.UnicodeUtil.UTF8toUTF16(
	at org.apache.lucene.index.codecs.preflexrw.TermInfosWriter.compareToLastTerm(
	at org.apache.lucene.index.codecs.preflexrw.TermInfosWriter.add(
	at org.apache.lucene.index.codecs.preflexrw.PreFlexFieldsWriter$PreFlexTermsWriter.finishTerm(
	at org.apache.lucene.index.FreqProxTermsWriter.appendPostings(
	at org.apache.lucene.index.FreqProxTermsWriter.flush(

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message