SOLR-4952: TestIndexSearcher.testReopen needs fixed segment merging

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511954 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5160: check for -1 return conditions in file reads

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512011 13f79535-47bb-0310-9956-ffa450edef68
SOLR-5126: Update Carrot2 clustering to version 3.8.0, update Morfologik to version 1.7.1




git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512203 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4708: Enable ClusteringComponent by default in collection1 example.
The solr.clustering.enabled system property is set to 'true' by default.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512227 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4708: a follow-up commit that disables the clustering component in tests. This is needed because core tests are executed before the contribs are compiled so certain classes are not yet available (unless you already have them locally). An alternative would be to compile everything before any tests are  executed, but it seems that it'd add an extra unnecessary overhead to every build.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512278 13f79535-47bb-0310-9956-ffa450edef68