lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [4/4] git commit: adding initial documentation on sorting.
Date Fri, 01 Aug 2014 17:35:31 GMT
adding initial documentation on sorting.


Branch: refs/heads/pcl
Commit: 2c8e873b43d55ede354dc7366a5ff69d4f6c884b
Parents: 0fbb29e
Author: Michael Herndon <>
Authored: Fri Aug 1 13:32:09 2014 -0400
Committer: Michael Herndon <>
Committed: Fri Aug 1 13:32:09 2014 -0400

 docs/ | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff --git a/docs/ b/docs/
new file mode 100644
index 0000000..1b26773
--- /dev/null
+++ b/docs/
@@ -0,0 +1,11 @@
+The system libraries in Java and C# have differences in the default sorting mechanism for
their respective frameworks.
+[Array.Sort](\(v=vs.110\).aspx)in C# uses
[Quick Sort]( as the default algorithm for soring.
in in Java uses the [Tim Sort](
as the default sorting algorithm as of Java 7.
+The differences in sorting methods could account for the discrepencies between running ported
tests for the various sorting algorithms in Lucene core.
+The base sorter test class uses Array.sort in order to test the ordinal order of elements
in the array. Because of the differences of sorting alogrithm in the languages, this may break
the tests that test for the oridinal positions.
\ No newline at end of file

View raw message