Commit Graph

14316 Commits

Author SHA1 Message Date
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
Uwe Schindler 28ced818d3 LUCENE-4245: better record interruption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364908 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:19:59 +00:00
Robert Muir 5249e46aee LUCENE-4044: port over synfilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364907 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:18:49 +00:00
Robert Muir dfe9a8444a LUCENE-4044: port over stempel/uima
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364905 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:08:49 +00:00
Uwe Schindler 6fa408286d LUCENE-4245: Addon: handle failures during flushing by enforcing CMS to stop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364903 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:05:20 +00:00
Robert Muir d4eb7f40b0 LUCENE-4044: port over smartcn
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364900 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:45:59 +00:00
Robert Muir 274a48b0e0 LUCENE-4044: port over morfologik
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364899 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:41:25 +00:00
Robert Muir e7b30a7d8d LUCENE-4044: port over icu module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364897 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:27:52 +00:00
Uwe Schindler 22a8a7cde9 LUCENE-4245: Make IndexWriter#close() and MergeScheduler#close() non-interruptible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364896 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:26:03 +00:00
Robert Muir 78232bf295 LUCENE-4044: register phonetic factories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364893 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:14:55 +00:00
Robert Muir e7ff3048ce LUCENE-4044: get all lucene tests passing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364891 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:11:20 +00:00
Mark Robert Miller 9878f2f5f7 improve zk tests vs blackhole
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364888 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:00:54 +00:00
Robert Muir 5cc38490d0 LUCENE-4044: get analysis/common tests passing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364887 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:58:28 +00:00
David Wayne Smiley 035c057cbf LUCENE-4197 rename CachedDistanceValueSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364882 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:45:32 +00:00
Robert Muir 134a4a400a LUCENE-4044: fix some more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364881 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:36:52 +00:00
Robert Muir ca658fd75d LUCENE-4044: fix more compil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364879 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:05:36 +00:00
Robert Muir 73d4b55f7e LUCENE-4044: more factories and tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364878 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:59:34 +00:00
Robert Muir f0cf51b02f LUCENE-4044: add services for kuromoji
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364877 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:34:26 +00:00
Robert Muir 55e5e56604 LUCENE-4044: add the rest for common/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364876 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:31:00 +00:00
Robert Muir 44fda553d6 LUCENE-4044: few steps closer to fixing compile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364875 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:12:43 +00:00
Robert Muir fe2d1194fb LUCENE-2510: apply movefactories.sh
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364867 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 01:56:39 +00:00
Robert Muir 2365f14f7f LUCENE-4044: add spi support to Tokenizer/CharFilter/TokenFilter factory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364863 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 01:48:56 +00:00
Robert Muir 62956b8eae git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364862 13f79535-47bb-0310-9956-ffa450edef68 2012-07-24 01:45:24 +00:00
Mark Robert Miller 2fd2d60e19 avoid distrib search against down node in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364828 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 22:44:20 +00:00
Robert Muir 2ba546ef2e LUCENE-4249: fix PayloadTermQuery to defer to the PayloadFunction in explain
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364812 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 21:48:57 +00:00
Robert Muir 29c15ddb20 fix test to use TEST_VERSION_CURRENT (to unbreak branch_4x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364797 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:51:56 +00:00