luceneplusplus / LucenePlusPlus

Lucene++ is an up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.
luceneplusplus@googlegroups.com
Other
738 stars 232 forks source link

fix: fix a unit test error #169

Closed GongHeng2017 closed 3 years ago

GongHeng2017 commented 3 years ago

ChineseAnalyzer now supports numeric

GongHeng2017 commented 3 years ago

@LocutusOfBorg @alanw @Kakueeen

LocutusOfBorg commented 3 years ago

thanks!

LocutusOfBorg commented 3 years ago

@GongHeng2017 looks like big endian machines are really sad now

[ RUN      ] IndexOutputTest.testWriteVLong
[       OK ] IndexOutputTest.testWriteVLong (0 ms)
[ RUN      ] IndexOutputTest.testWriteString
[       OK ] IndexOutputTest.testWriteString (0 ms)
[ RUN      ] IndexOutputTest.testWriteChars
[       OK ] IndexOutputTest.testWriteChars (0 ms)
[ RUN      ] IndexOutputTest.testCopyBytes
Segmentation fault (core dumped)
make[1]: *** [debian/rules:30: override_dh_auto_test] Error 139
make[1]: Leaving directory '/build/lucene++-lHQlnk/lucene++-3.0.8'
make: *** [debian/rules:7: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
LocutusOfBorg commented 3 years ago

full log here https://launchpadlibrarian.net/526944068/buildlog_ubuntu-hirsute-s390x.lucene++_3.0.8-4~build1_BUILDING.txt.gz

LocutusOfBorg commented 3 years ago

(nevermind might be due to new compiler or something different)