LUCENE-4842: Unbreak SynonymMap.Builder.join(String[],CharsRef)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457380 13f79535-47bb-0310-9956-ffa450edef68
Fix AnalyzerFactoryTask to call ResourceLoaderAware.inform using the current directory if neither the 'work.dir' property value nor ./work/ are legit directories; also fix the english-porter-comparison.alg report task to be RepSumByNameRound instead of RepSumByName.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457390 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-4838: Add BytesRefHash.find()

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457400 13f79535-47bb-0310-9956-ffa450edef68
tests: higher timeout, more specific fail msg, remove unused import

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

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457459 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4555: improve solution

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457475 13f79535-47bb-0310-9956-ffa450edef68
Merge remote-tracking branch 'upstream/trunk' into trunk