lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] rclabo commented on issue #270: Need tests to ensure 2-way index/codec compatibility with Lucene
Date Sat, 10 Apr 2021 17:27:22 GMT

rclabo commented on issue #270:

   It was brought to my attention that some of the files may have headers that store such
things as "javaVendor" and what we put there for Lucene.NET 4.8 isn't going to match what
Lucene 4.8 puts there.  So it seems Java Lucene  intended two files created by two different
java vendors would have different meta data., So maybe byte by byte comparison of the headers
isn't the right way to go.  Maybe for the hearders of such a file we have to do more sophisticated
checking but the rest of the file and other files can be byte by byte comparisons, perhaps.
   I have opened a Lucene.NET 4.8 index in Luke and it didn't throw but I didn't validate
every aspect of the file and there are many. A byte by byte comparison of the parts that can
be compared would give us a ton of confidence.  Or if the file has a CRC that doesn't include
the headers comparing that may be a great way to go.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message