Commit Graph

14973 Commits

Author SHA1 Message Date
Robert Muir ceb3c6889a LUCENE-3747: restore this file temporarily to unbreak the build. it was a 0-byte file... I think something went wrong
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366004 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:07:21 +00:00
Robert Muir 8bfa167a73 LUCENE-4257: factor the getLines in REsourceLoader in WordListLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365992 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 13:43:28 +00:00
Steven Rowe 5abc76ea42 LUCENE-3747: Support Unicode 6.1.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 12:56:35 +00:00
Uwe Schindler 924f6f730d LUCENE-4255: one more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365958 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:58:59 +00:00
Uwe Schindler 58a9b85ae0 LUCENE-4255: Remove more useless try..catch on IOException after ResourceLoader update
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365956 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:51:14 +00:00
Robert Muir ca736cea8e LUCENE-4255: clean up analysis factory exception handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365865 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 01:41:06 +00:00
Chris M. Hostetter 64dcd8855d better javadocs for UpdateRequestProcessorChain and the key processor factories people should always know about
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365857 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 00:50:40 +00:00
Robert Muir 436175cfaf LUCENE-4250: fix trap in PayloadFunction explain API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365837 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 23:23:02 +00:00
Mark Robert Miller 645547df3e SOLR-1781: ensure we are cleaning up the 'newest' old index directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365657 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 16:24:27 +00:00
Uwe Schindler 09dc88ce9a LUCENE-2510, LUCENE-4044: Better generics-conform fix, sorry for heavy committing! It is much better than the original code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365610 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:55:48 +00:00
Mark Robert Miller e3af5988e7 be a little less aggressive in how fast we retry failed recoveries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365607 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:47:41 +00:00
Uwe Schindler f7b94431d5 LUCENE-2510, LUCENE-4044: Nuke generics completely - Java 7 bug?
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365602 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:35:02 +00:00
Uwe Schindler 142d3c788f LUCENE-2510, LUCENE-4044: Migrated Solr's Tokenizer-, TokenFilter-, and CharFilterFactories to the lucene-analysis module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365586 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 13:54:04 +00:00
Uwe Schindler 7c12d83a4c LUCENE-2510: Add a test that actually "tries" to create a instance from the factory, which currently does not work for all factories (like ResourceLoader required - we have no default Impl outside Solr, or required parameters missing). At least it tests that we get InitializationException. Unfortunatley if ResourceLoaderAware.inform() is not called, some factories NPE or similar. We should fix later and make it better useable outside Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365494 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 09:01:51 +00:00
Uwe Schindler 6751eefb8e Merged revision(s) 1364862-1365482 from lucene/dev/trunk:
........
LUCENE-4044: add spi support to Tokenizer/CharFilter/TokenFilter factory
........
LUCENE-2510: apply movefactories.sh
........
LUCENE-4044: few steps closer to fixing compile
........
LUCENE-4044: add the rest for common/
........
LUCENE-4044: add services for kuromoji
........
LUCENE-4044: more factories and tests
........
LUCENE-4044: fix more compil
........
LUCENE-4044: fix some more tests
........
LUCENE-4197 rename CachedDistanceValueSource
........
LUCENE-4044: get analysis/common tests passing
........
improve zk tests vs blackhole
........
LUCENE-4044: get all lucene tests passing
........
LUCENE-4044: register phonetic factories
........
LUCENE-4245: Make IndexWriter#close() and MergeScheduler#close() non-interruptible
........
LUCENE-4044: port over icu module
........
LUCENE-4044: port over morfologik
........
LUCENE-4044: port over smartcn
........
LUCENE-4245: Addon: handle failures during flushing by enforcing CMS to stop
........
LUCENE-4044: port over stempel/uima
........
LUCENE-4044: port over synfilter
........
LUCENE-4245: better record interruption
........
fix reuse bug
........
simplify + improve test infra
........
LUCENE-4245: use IOUtils to close everything in finally block
........
LUCENE-4044: get solr tests working
........
LUCENE-4044: dont use instances just class names
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365483 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 08:10:27 +00:00
Robert Muir bc5848f7dc LUCENE-4252: null these out for GC to close ram leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365450 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 05:26:37 +00:00
Robert Muir de8e3661fc LUCENE-4252: null these out for GC to close ram leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365444 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 04:49:21 +00:00
Mark Robert Miller b77c7e684d more black hole avoidance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365437 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 04:32:57 +00:00
Mark Robert Miller 3208495042 wait for *all* nodes to see downed node out of cloud state before making a request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365428 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 03:47:09 +00:00
Robert Muir d58041803c LUCENE-2510: fix more factory arg bugs found by TestFactories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365426 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 03:33:29 +00:00
Robert Muir 862dd75357 LUCENE-2510: add note
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365416 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 02:59:34 +00:00
Robert Muir 07f84ee57f LUCENE-2510: add more tests, fix bugs found by test where misconfigured factories wouldnt error out until runtime
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365414 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 02:54:31 +00:00
Chris M. Hostetter c5f10f722b SOLR-1770: fix svn:ignore props for data and lib dirs now that example/solr/collection1/ is used as the instancedir (note: lib was explicitly left in svn:ignore for example/solr/ since it is the suggested path for registering a sharedLib in solr.xml)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365390 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 01:24:50 +00:00
Chris M. Hostetter 8584883326 SOLR-3609: fix some left over 'work' refrences that didn't get converted to 'solr-webapp' and add solr-webapp/.gitignore just like the old work/.gitignore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365383 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 01:09:22 +00:00
Robert Muir ef25010554 LUCENE-2510: add tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365375 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 00:58:05 +00:00
Chris M. Hostetter 001eac714e SOLR-3652: Fixed range faceting to error instead of looping infinitely when 'gap' is zero -- or effectively zero due to floating point arithmetic underflow
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365363 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 00:11:35 +00:00
Uwe Schindler 2fbd91eb5c LUCENE-2510: General improvement: Be more picky about service name in SPI, as loaded from untrusted source; simplify code; improvement in Solr's ResourceLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365345 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 23:28:07 +00:00
Uwe Schindler 2a7fd7f174 LUCENE-2510: Replace crazy Apache Harmony(tm) parser code by a faster and easier-to-understand one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365317 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:52:51 +00:00
Mark Robert Miller 1ff7e05b8f add a StopableSearchThread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365313 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:49:56 +00:00
Uwe Schindler 95a8d0a01c LUCENE-2510: revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365294 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:19:01 +00:00
Uwe Schindler f099b31b5a LUCENE-2510: Fix lookup issue in not-yet tested code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365283 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:07:56 +00:00
Robert Muir ab2a7e389f LUCENE-3892: null these massive static data structures out so they can be GC'ed and wont OOM tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365257 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:49:32 +00:00
Uwe Schindler ca69c47866 LUCENE-2510: Improve the Maven-like pattern detection for the named loader. TODO: We should create an ant task that creates the META-INF/services list from filesets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365239 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:24:46 +00:00
Robert Muir de67b889c6 LUCENE-2510: fix javadocs linter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365225 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:01:55 +00:00
Uwe Schindler 2a6a024fd5 LUCENE-2510: Slightly less stupid generics - arrrrgh
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365219 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 18:50:31 +00:00
Uwe Schindler d1ad745f53 LUCENE-2510: Make the SOLR backwards layer be implemented directly inside SolrResourceLoader (sorry for the generics and still needed suppress warnings... - maybe somebody has an idea for the map inside map)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365215 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 18:44:40 +00:00
Koji Sekiguchi 3e795bf830 change hh to HH for date format in DIH example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365166 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 16:54:51 +00:00
Uwe Schindler b87e306e85 LUCENE-2510: minor change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365145 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:53:29 +00:00
Uwe Schindler baa71b943f LUCENE-2510: Some cleanup in the new service class iterator + better messages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365143 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:49:46 +00:00
Uwe Schindler fe05af5e84 LUCENE-2510: Use a custom ServiceLoader in oal.util to replace java.util.ServiceLoader: It does not instantiate the classes, it only loads them without initializing them and it 100% respects classpath order, so the IBM J9/Harmony workaround is gone.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365122 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:22:48 +00:00
Robert Muir 5b1664349a LUCENE-4044: dont use instances just class names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365106 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:01:12 +00:00
Robert Muir 0e80c044b2 LUCENE-4044: get solr tests working
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365095 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 14:46:12 +00:00
Uwe Schindler 75b3fe9c81 LUCENE-2510: remove unchecked cast :-) It's much easier!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365030 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 13:03:27 +00:00
Uwe Schindler 6e966079b1 LUCENE-2510: Fix generics and remove Häckidy-Hick-Hack (its not needed here, as names should be unique; we dont have the preflex codec special case)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365026 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 12:58:13 +00:00
Yonik Seeley 08b37ea20d SOLR-3559: distributed DBQ did not respect the FROMLEADER param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365014 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 12:46:41 +00:00
Tommaso Teofili 22970d7325 no Jira - trivial javadoc change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364967 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 10:37:06 +00:00
Tommaso Teofili cb33194b37 [SOLR-2838] - applying Koji's patch plus aligning tests to use a SolrCore while building the update processor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364940 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 08:59:19 +00:00
Uwe Schindler 2b53e08898 LUCENE-4245: use IOUtils to close everything in finally block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364931 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 08:09:27 +00:00
Mark Robert Miller 845a3c3d60 simplify + improve test infra
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364923 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 07:20:20 +00:00
Robert Muir 18587e58c9 fix reuse bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364912 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:28:24 +00:00