Commit Graph

3937 Commits

Author SHA1 Message Date
Uwe Schindler 46fe5cf9d9 Improve test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366392 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 14:24:55 +00:00
Robert Muir 78ca29ee09 LUCENE-4263: remove conflicting versions of the same jar dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366381 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 13:36:13 +00:00
Robert Muir 467faeaae0 LUCENE-4260: factor subPackages out of the resourceloader interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366360 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 12:15:03 +00:00
Uwe Schindler 53dc0191b5 Fix license
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366335 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 10:59:21 +00:00
Steven Rowe f5b7153f47 LUCENE-3747: Update minimum JFlex revision to the first supporting Unicode 6.1.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366284 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 04:42:04 +00:00
Mark Robert Miller a5f1159a6f fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366236 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 23:53:33 +00:00
Steven Rowe dc3c5db794 LUCENE-3747: fixed .jflex-macro regeneration problems; regenerated affected JFlex scanners
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366231 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 23:15:25 +00:00
Uwe Schindler 10a3d8cfdd revert development shortcut in build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366222 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 22:51:26 +00:00
Uwe Schindler 92e5c35bc3 Fix javadocs-linter: Windows support, support for file:-URLs (now needed), fix broken XML-comments in some files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366220 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 22:45:31 +00:00
Uwe Schindler af95ff1ca4 Simplier variant that also works with Java 5 for backport
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366164 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:28:43 +00:00
Uwe Schindler 69a6b5a562 LUCENE-4259: Allow reloading of codec/postings format list when classpath changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:59:49 +00:00
Robert Muir 3d1279c06c move test to same place as 4.x branch for easier backporting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366110 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:55:23 +00:00
Robert Muir 62312f08e8 cut test over to newFSDirectory to hopefully stop OOMs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366011 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:18:07 +00:00
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
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
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
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 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
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
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
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 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
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
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
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
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
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
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 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 33f6da286e merge trunk (1364720-1364799)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364800 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:57:31 +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
Robert Muir e0d137f8e2 LUCENE-4828: add AssertingPostingsConsumer, fix minor inconsistencies in producers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364792 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:46:08 +00:00
David Wayne Smiley 618c38fd98 LUCENE-4223 spatial docs: overview.html, SpatialStrategy, and added SpatialExample.java sample
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364782 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:19:02 +00:00
Robert Muir c0f8cd69a8 LUCENE-4248: add producer assertions to Codec API / fix producer inconsistencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364763 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 19:26:00 +00:00
Robert Muir 3a0464f165 LUCENE-3892: merge trunk (1364688-1364719)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364720 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 17:13:49 +00:00
Robert Muir ed85646812 LUCENE-3892: fix SimpleText reuse bug w/ start/endOffset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364714 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 17:10:59 +00:00
Robert Muir 02bf38865a LUCENE-3892: merge trunk (1363348-1364687)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364696 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 16:06:25 +00:00
Robert Muir 163a5a1c0e LUCENE-3892: fix producer in this test to pass -1 if we arent indexing offsets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364693 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 15:58:24 +00:00
Robert Muir ec0eff6dcf LUCENE-3892: add TestPostingsFormat from pforcodec_3892 branch to get it in jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364688 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 15:52:39 +00:00
Shai Erera 7022593713 simplify DirTaxoWriter.addCategory synchronization in an attempt to make concurrency more safer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364618 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 13:04:44 +00:00
Shai Erera aa28aff77e LUCENE-4234: Exception when FacetsCollector is used with ScoreFacetRequest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364576 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:58:56 +00:00
Uwe Schindler c945fb98fb Copy over changes from 3.6 branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364568 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:26:46 +00:00
Adrien Grand d0ac05dcfd LUCENE-4239: Provide access to PackedInts' blocks <-> values conversion methods (first iteration).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364157 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 19:26:45 +00:00
Michael McCandless 832800b537 explain that app should not change returned BytesRef payload
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364107 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 14:39:36 +00:00
Michael McCandless 91150e2477 also test extremes (1, MAX_VALUE) for DirectPF's configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364106 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 14:36:57 +00:00
Michael McCandless cd2bf59fdf LUCENE-3892: turn on all options testing in TestPostingsFormat; fix it to skip offsets if the PF can't index them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364085 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 13:31:16 +00:00
Michael McCandless 5d36bf73e1 LUCENE-3892: fix SimpleText reuse bug w/ start/endOffset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364083 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 13:30:42 +00:00
Robert Muir f55c8d1247 fix bugs in DirectPF's lowFreq d-and-p-enum, set payload.bytes/offset/length in getPayload, also skip payload pointer correctly when scanning over deleted docs in nextDoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364070 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 12:13:19 +00:00
Robert Muir 24092aab4c add toString for debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364064 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 10:43:20 +00:00
Robert Muir 0d0ad900cb TestNRTThreads wants a MockDirectoryWrapper always
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364031 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 01:21:13 +00:00
Robert Muir b9c088dc06 test really needs MockDirectoryWrapper always
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364026 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 00:28:26 +00:00
Robert Muir 62ae7219b8 LUCENE-4238: add Mark's test... occasionally slow so its @Nightly for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364006 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:49:05 +00:00
Robert Muir 22b5c84800 LUCENE-4243: MockDirectoryWrapper synchronizes too much
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:09:26 +00:00
Michael McCandless 6ccd856bae LUCENE-3892: move readBlock/skipBlock up as static methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1363886 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 18:18:16 +00:00
Robert Muir 0ac72088e8 turn assertingDirectoryReader back on
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363877 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 17:15:24 +00:00
Robert Muir 359850aec5 LUCENE-4237: add build option to build the javadocs index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363871 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 16:48:02 +00:00
Robert Muir 6a4cdbeb05 LUCENE-4240: don't invoke the Analyzer for not-analyzed fields, fix offsetGap to just take fieldName
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363821 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 15:05:58 +00:00
Michael McCandless 2587cb1577 LUCENE-4227: add changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363811 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 14:46:26 +00:00
Michael McCandless b85dc82b4f LUCENE-4227: add DirectPostingsFormat, to hold all postings in simple uncompressed arrays
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363803 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 14:33:43 +00:00
Michael McCandless 1e49670a55 LUCENE-4225: BlockPostingsFormat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1363421 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 16:53:58 +00:00
Michael McCandless cf36fb9a58 LUCENE-3892: merge in trunk changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1363400 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 15:58:54 +00:00
Robert Muir d408b72f81 don't divide by 0 in the checkindex status: it totally confuses people to see the \uFFFD for the NaN
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363379 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 15:21:12 +00:00
Martijn van Groningen a965d6fdf7 Fix of rare FC insanity during tests that have occurred in grouping & joining tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363272 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 09:48:04 +00:00
Robert Muir 5a2d0bc654 LUCENE-2686, LUCENE-3505: Fix various bugs in BooleanQuery, clean up scorer navigation API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 21:04:18 +00:00
Uwe Schindler cee33695d3 LUCENE-4235: Remove enforcing of Filter rewrite for NRQ queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363049 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 19:08:24 +00:00
Michael McCandless 843d2d729e default PositiveIntOutputs to doShare=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363004 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:21:32 +00:00
Martijn van Groningen 15542518ba Fixed build error when building grouping module from the grouping module directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362898 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 12:04:25 +00:00
Michael McCandless 622d6c201d add/improve FST asserts to detect > 2.1 GB FST
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362667 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 21:33:36 +00:00
Robert Muir e003b49cab LUCENE-4228: refactor CharFilter to be a java.io.FilterReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362442 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 10:53:28 +00:00
Christopher John Male 0eaf3d8b90 LUCENE-4165: Fixed incorrect location of changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362372 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 05:59:27 +00:00
Christopher John Male 75504b9d7a LUCENE-4165: Removed closing of Reader from HunspellDictionary so InputStreams are not closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 05:46:32 +00:00
Tommaso Teofili 27c545432c [LUCENE-4207] - substituted Version.LUCENE_50 with TEST_VERSION_CURRENT in UIMABaseAnalyzerTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362281 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 22:06:48 +00:00
Martijn van Groningen 905510ace8 LUCENE-4153: Changed description.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362225 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 19:27:57 +00:00
Martijn van Groningen 858dbbdba4 LUCENE-4153: Added option to fast vector highlighting via BaseFragmentsBuilder to
respect field boundaries in the case of multivalued fields.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362223 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 19:24:49 +00:00
Robert Muir 963efbfea2 LUCENE-2191: rename Tokenizer.reset(Reader) to Tokenizer.setReader(Reader)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362074 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 14:57:00 +00:00
Robert Muir 96ac778338 LUCENE-4214: TestJoinUtil sometimes takes minutes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362025 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 13:21:06 +00:00
Michael McCandless dbf09d8883 LUCENE-3892: add nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1362015 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 13:00:48 +00:00
Michael McCandless 9251168dfd LUCENE-3892: get numBytes & bit width into single int header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1362013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 12:55:26 +00:00
Michael McCandless eb4c26db80 LUCENE-4222: return MB not Bytes from getFloorSegmentMB
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361966 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 10:28:04 +00:00
David Wayne Smiley c36c959a80 LUCENE-4197 remove 3 unused classes in the spatial module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361910 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 05:27:26 +00:00
Robert Muir 7002e7cb09 test some untested analysis corner cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361896 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 03:34:46 +00:00
Robert Muir dc27d24e0b LUCENE-4180: Bump Constants.LUCENE_MAIN_VERSION before beta release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361857 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 01:38:10 +00:00
Tommaso Teofili 2e8aac9300 [LUCENE-4207] - updated LuceneVersion to 5.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361819 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 21:54:13 +00:00
Uwe Schindler cc395993e3 LUCENE-4220: Commit missing license files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361745 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 17:55:55 +00:00
Uwe Schindler 67b1fdfc5d LUCENE-4220: Remove the buggy JavaCC-based HTML parser in the benchmark module and replaced by NekoHTML
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361741 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 17:34:47 +00:00
Robert Muir 383d17e6a5 LUCENE-4221: CheckIndex is overeager for term vector offsets bounds checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361701 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 13:45:27 +00:00
Uwe Schindler bf7a69fe16 LUCENE-4217: Make it easier to configure clover by adding correct test properties / mem size automatically
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361512 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 10:11:50 +00:00
Uwe Schindler c0d02bc3c8 LUCENE-4217: Add the possibility to run tests with Atlassian Clover loaded from IVY. A development License solely for Apache code was added in the tools/ folder, but is not included in releases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361480 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 07:16:33 +00:00
Uwe Schindler 0b5eaa8b68 SOLR-3328: Fix file attributes partially (needs more verification)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361408 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 21:47:22 +00:00
Robert Muir 9c9039582e LUCENE-4211: add AssertingReader/Codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361243 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 14:45:19 +00:00
Michael McCandless 2c0f1e2a4f LUCENE-3892: fix maxChain bug; support numBits=0 (all ints == 0)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1360993 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 23:01:19 +00:00
Michael McCandless 7e35195b59 LUCENE-4211: fix another test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360979 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 21:59:41 +00:00
Michael McCandless abf9894023 LUCENE-4211: fix one test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360977 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 21:56:31 +00:00
David Wayne Smiley e43973683e LUCENE-4192 remove spatial isPolyField and createField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360687 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 14:06:30 +00:00
Robert Muir 2c7e1721b7 fix jar-checksums task
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360645 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 12:07:46 +00:00
Uwe Schindler 9ad95cb588 LUCENE-3950: Use ivy.cachepath for Apache RAT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360619 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 10:34:11 +00:00
Robert Muir 7b2abe6e19 LUCENE-3950: load rat via ivy so you dont need it in .ant/lib etc, invoke from validate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360475 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 23:27:21 +00:00
Adrien Grand 817eeb6252 LUCENE-4207: Make TestPackedInts faster.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360453 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 22:39:23 +00:00
Uwe Schindler 53cfbcda0d LUCENE-4199, LUCENE-4202, LUCENE-4206: Remove noise by not-existing XML CDATA in task; cleanup build.xmls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360451 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 22:34:39 +00:00
Tommaso Teofili cf53015824 [LUCENE-4207] - reduced the multiplier factor of 10 in random string checks to fasten tests (and re enabling wrongly @Ignored test)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360395 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 20:54:36 +00:00
Robert Muir dc90a019a2 LUCENE-4212: Tests should not use new Random() without args
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 19:10:08 +00:00
Uwe Schindler 37210f0cd6 Simplify the one-api-file case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360272 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 16:25:22 +00:00
Robert Muir bcb3e79b7d optimize check-forbidden-apis to not compile things twice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360254 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 16:08:08 +00:00
Robert Muir 124edc221c LUCENE-3877: Lucene should not call System.out.println
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360240 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 15:52:40 +00:00
Michael McCandless aa87124205 fix test: don't call .nextDoc() if the enum had already returned NO_MORE_DOCS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360205 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 14:36:06 +00:00
Michael McCandless 101ea65be9 LUCENE-3892: suppress exceptions from close() while we are already handling an exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1360184 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 14:17:20 +00:00
Michael McCandless a227add782 LUCENE-3892: docs/cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1360169 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 13:29:11 +00:00
David Wayne Smiley 04bc7ee821 LUCENE-4188 inlined/removed SpatialStrategy.createStoredField()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360028 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 06:28:39 +00:00
David Wayne Smiley 401bfde9bd LUCENE-4188 remove field storage from createField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360021 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 06:20:27 +00:00
Uwe Schindler 891dcd75e9 LUCENE-4209: Enforce cleanup on success and failure while sorting partitions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359953 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 23:41:09 +00:00
Robert Muir 20b748a484 LUCENE-4209: fix another suggester leak: dont leave behind the file when rename fails (/tmp is its own filesystem)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359946 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 23:06:08 +00:00
Robert Muir 524fa2d4f6 LUCENE-4209: suggester fixes to not leave behind files in /tmp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359873 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 20:04:33 +00:00
Adrien Grand e48f99c36c Fix error-prone header check.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359861 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 19:52:46 +00:00
Uwe Schindler 0446940b7d LUCENE-4206: Allow check-forbidden-apis to also investigate calls to subclasses of forbidden APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359827 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 18:32:31 +00:00
Christian Moen a15331043f Added JapaneseIterationMarkCharFilter (LUCENE-4201)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359613 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 11:46:09 +00:00
Robert Muir e78a40adcd LUCENE-4202: add java 6 deprecated fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359611 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 11:44:56 +00:00
Uwe Schindler 4527c4b3f3 LUCENE-4202: Add support for fields to check-forbidden-apis; cleanup classpath; improve logging messages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359590 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 10:47:03 +00:00
Steven Rowe 160eac52ca fix typos (merge from branch_4x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 19:49:17 +00:00
Robert Muir f55d87ee36 LUCENE-4199: split deprecated jdk methods into their own file for easier maint
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359355 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 19:28:25 +00:00
Robert Muir cd4d6db5cd LUCENE-4199: specify these classes correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359327 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:19:34 +00:00
Robert Muir aa13466422 LUCENE-4199: disallow deprecated jdk methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359322 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:11:36 +00:00
Michael McCandless cda371db21 LUCENE-3892: close IndexOutput on exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1359299 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 17:30:25 +00:00
Uwe Schindler 27aa2f6a28 LUCENE-3312: Merge up to trunk HEAD. There was a really huge change (LUCENE-4199).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1359283 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 17:04:57 +00:00
Uwe Schindler 2f123d1209 Fix CRLF problem with running python on windows /and/or cygwin when creating java source files. Also fix broken generated license header.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359275 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:50:25 +00:00
Robert Muir cc110d2119 LUCENE-4199: add the Formatter ctors that dont take Locale
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359259 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:24:26 +00:00
Robert Muir 6ed449c40e LUCENE-4199: add another missing one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359255 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:16:29 +00:00
Robert Muir 5e8cd291dd LUCENE-4199: fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359249 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:09:20 +00:00
Robert Muir 4138528889 LUCENE-4199: add default local DecimalFormat ctors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359238 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:03:57 +00:00
Uwe Schindler 3582fea429 LUCENE-4199: Remove comments only left in for backporting support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359230 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 15:46:39 +00:00
Uwe Schindler e3813f8030 LUCENE-4199: Add a new target "check-forbidden-apis", that parses all generated .class files for use of APIs that use default charset, default locale, or default timezone and fail build if violations found. This ensures, that Lucene / Solr is independent on local configuration options
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359202 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 15:03:56 +00:00
Uwe Schindler 33deddabf1 LUCENE-4199: Add some additional checks and better error messages to task, so it fails on empty signature list or empty class file set.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359173 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:54:37 +00:00
Uwe Schindler e7437a7d0c LUCENE-4199: cleanup filesets to check; disable Solr's DIH checking, as Locale/Charset support is broken (SOLR-1916)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359167 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:35:34 +00:00
Robert Muir 7332ceac17 LUCENE-4199: fix todo, do this the same as other processors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359154 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:16:31 +00:00
Uwe Schindler dcab2d6d53 LUCENE-3312: Reverse merged revision(s) 1-0 from lucene/dev/trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1359151 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:13:18 +00:00
Robert Muir 5fea62f7c8 LUCENE-4199: allow setting of tz used for date range parsing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359149 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:12:41 +00:00
Uwe Schindler 00d53046db LUCENE-3312: Apply lucene-3312-patch-07.patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1359139 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:06:35 +00:00
Uwe Schindler e4b8dc640e LUCENE-4199: Reverse merged revision(s) 1-0 from lucene/dev/trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359007 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 09:49:58 +00:00
Dawid Weiss 9381a771ab Typo in class name corrected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358994 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 09:26:47 +00:00
Robert Muir 9df919c5ba LUCENE-4199: fix more charset/locale usages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358890 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 01:17:15 +00:00
Robert Muir 9c742d4de4 LUCENE-4199: fix more locale violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358791 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 17:27:56 +00:00
Robert Muir 9e7880eaa4 LUCENE-4199: add more violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358774 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 16:16:48 +00:00
Robert Muir 3d964bea63 LUCENE-4199: fix more default Locale uses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358761 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 15:44:41 +00:00
Uwe Schindler 700f867c7e LUCENE-4199: Next usecase of FastCharStream for HTMLParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358760 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 15:33:29 +00:00
Uwe Schindler 88da536d39 LUCENE-4199: Remove stupid System.out in FastCharStream (this class is hand-written, not generated!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358756 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 15:26:31 +00:00
Uwe Schindler 581f0c8afc LUCENE-4199: Hide InputStream ctors from JFlex generated code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358754 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 15:02:39 +00:00
Robert Muir 571faf7aa5 add missing assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358751 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 14:50:59 +00:00
Robert Muir 256214c4b5 improve the assert to make this easier to debug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358748 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 14:41:58 +00:00
Robert Muir 8bc95251ae LUCENE-4199: this is ok, just make it explicit what we are doing and add comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358747 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 14:24:27 +00:00
Robert Muir 671473eb5c LUCENE-4199: add more default-locale-using methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358745 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 14:10:02 +00:00
Uwe Schindler 0ca4f678ed LUCENE-4199: update javadocs and printout for no longer method-only checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358653 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 22:03:22 +00:00
Yonik Seeley e61e9134a8 SOLR-2702: add replication support to NRTCachingDirectoryFactory and make it the default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358650 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 21:48:19 +00:00
Uwe Schindler c728aca01b LUCENE-4199: fix flexible standard query parser by cloning the user CharStream implementation without unicode bugs from classic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358649 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 21:41:51 +00:00
Uwe Schindler 860ef9cea9 LUCENE-4199: Fix XML QueryParser XML handling (don't use ByteArrayOutputStream). But it should still suppress xml header with encoding when transformed to string... (TODO)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358638 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 20:55:08 +00:00
Robert Muir 7b6d126f0b LUCENE-4199: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358636 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 20:24:09 +00:00
Robert Muir 73a7da17ab LUCENE-4199: more default locale/encoding fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358635 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 20:18:56 +00:00
Robert Muir 5f38c1d4de LUCENE-4199: fix more violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358600 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 16:41:50 +00:00
Robert Muir b6a4748f21 make Locale.ENGLISH/US -> ROOT for locale-independent operations, now that we are on java6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358594 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:42:40 +00:00
Robert Muir 79cb46698e LUCENE-4199: fix more violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358587 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:12:23 +00:00
Robert Muir 2b4f7762cd LUCENE-4199: fix some String.formats
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358575 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 14:30:52 +00:00
Uwe Schindler a79a551305 LUCENE-4199: add some hundreds more :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358566 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 13:54:00 +00:00
Robert Muir 8834e675ca LUCENE-4199: fix more charset/locale violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358564 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 13:30:52 +00:00
Robert Muir 5a6a9e7f80 LUCENE-4199: more test fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358561 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 13:10:20 +00:00
Robert Muir 1590b5f7b8 LUCENE-4199: fix more default charset uses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358558 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:53:07 +00:00
Robert Muir bc91650ae8 LUCENE-4199: fix more default charset uses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358557 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:48:02 +00:00
Uwe Schindler 50ede4050e LUCENE-4199: update list again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358556 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:41:02 +00:00
Robert Muir d69c73c027 LUCENE-4199: fix more default charset uses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358555 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:25:16 +00:00
Uwe Schindler 6e9890c9ed LUCENE-4199: fix of my broken list: add more discouraged APIs -> new bugs found (ran test in wrong checkout *g*)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358554 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:23:41 +00:00
Uwe Schindler 0ef38dd020 LUCENE-4199: add more discourages APIs (no new bugs found by that)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358552 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:16:09 +00:00
Robert Muir ff5244ca3a LUCENE-4199: don't use default charset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358551 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:12:13 +00:00
Robert Muir f91f2e9cdb LUCENE-4199: commit uwe's patch with check-forbidden-apis task
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358549 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:04:22 +00:00
Robert Muir fcfaf3f0f5 also add a nice param name 'strategy' instead of p0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358386 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 19:58:08 +00:00
David Wayne Smiley 6104f180a1 LUCENE-4197 SpatialArgs.toString() shouldn't be overloaded with a ctx – not needed for its purpose.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358380 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 19:49:57 +00:00
Robert Muir 007b8d6a82 add clover hack
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358377 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 19:48:28 +00:00
Robert Muir c746415d08 LUCENE-4174: tone down the now really slow analysis tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358149 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 11:56:47 +00:00
Robert Muir 4aa31b1e19 LUCENE-4174: tone down @Slow test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358123 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 11:13:24 +00:00
Dawid Weiss bb1190c05d LUCENE-4194: more solr default encoding fixes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358107 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 10:29:29 +00:00
Uwe Schindler 637fa5d715 did not help :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357952 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 21:46:30 +00:00
Uwe Schindler 1db6d571eb Commit lucene-3312-patch-06.patch (merged to current trunk and formatting changes in IR removed)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1357938 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 21:37:19 +00:00
Uwe Schindler 64608206d0 sorry, typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357707 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:59:21 +00:00
Uwe Schindler b1328f9c66 Disable clover analysis in this test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357703 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:53:45 +00:00
Dawid Weiss 8a0e3198ca LUCENE-4194: more encoding fixes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357636 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 14:41:03 +00:00
Robert Muir 1713e0bcc5 LUCENE-4195: codec package documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357611 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 13:59:42 +00:00
Robert Muir 9c825c3184 LUCENE-4194: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357595 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 13:24:30 +00:00
Dawid Weiss 64407ad2ff LUCENE-4194: just a taste of what I mean by encoding-sensitive.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357565 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 11:46:33 +00:00
Dawid Weiss 83aa0d66a1 Always re-read ivy's configuration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357552 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 11:06:08 +00:00
Dawid Weiss 9bbc6c7412 Fixup of file.encoding property.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357544 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 10:40:44 +00:00
Dawid Weiss b57a83e50a LUCENE-4094: Support overriding file.encoding on forked test JVMs
(force via -Drandomized.file.encoding=XXX). (Dawid Weiss)

LUCENE-4189: Test output should include timestamps (start/end for each
test/ suite). Added -Dtests.timestamps=[off by default]. (Dawid Weiss)

LUCENE-4110: Report long periods of forked jvm inactivity (hung tests/ suites).
Added -Dtests.heartbeat=[seconds] with the default of 60 seconds.
(Dawid Weiss)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357543 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 10:40:01 +00:00
Robert Muir 80c5475725 LUCENE-4190: revert. lucene isn't a file manager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357532 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 09:55:16 +00:00
Dawid Weiss e91e59af95 Correcting getByte() sensitive to local file.encoding.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357493 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 08:49:17 +00:00
David Wayne Smiley c92eb67f6d LUCENE-4099 remove SpatialFieldInfo (and corresponding generics) and put fieldName into Strategy instead of methods. Thus an instance of SpatialStrategy is now a per-field object, not per-fieldType.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357451 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 03:16:23 +00:00
Michael McCandless 7afaab4589 LUCENE-3892: fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 18:01:28 +00:00
Michael McCandless 3fb11c875d LUCENE-3892: small cleanups to For/PFor postings formats
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357349 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 17:48:02 +00:00
Michael McCandless 0c670cbf4b LUCENE-3892: revive BulkVInt postings format (from old bulk branch)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357347 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 17:47:38 +00:00
Robert Muir 458cb4e59a LUCENE-4190: don't delete files in the index directory unless they begin with an underscore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357346 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 17:46:28 +00:00
Michael McCandless 1e5b9e12d8 dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357225 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 11:10:38 +00:00
Michael McCandless 4985b07040 rename set -> copyFrom in IntIndexInput.Index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357220 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 10:38:36 +00:00
Michael McCandless 48d2049634 tighten up FixedIntBlockIndexInput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357217 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 10:32:51 +00:00
Adrien Grand 0c05cb7c48 LUCENE-4080: Make SegmentReader.numDeletedDocs() always reliable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357195 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 09:39:47 +00:00
Adrien Grand e96b143b6a LUCENE-4161: Make packed int arrays usable by codecs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357159 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 08:17:02 +00:00
Michael McCandless 21a6450e83 make some fields private/final; add whitespace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357026 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 00:43:04 +00:00
Michael McCandless 1616749915 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357024 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 00:33:19 +00:00
Michael McCandless dae7f3e56a use python3.2 for javadocs link checking (its builtin HTML parser is more strict than 2.7's)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356797 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 15:50:14 +00:00
Adrien Grand 1646750440 LUCENE-4184: Performance improvements to Packed64SingleBlock.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356640 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 09:35:06 +00:00
Uwe Schindler d653fbc449 Merged revision(s) 1356608 from lucene/dev/branches/branch_4x:
LUCENE-4183: Cleanup CFS reader exeption handling

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356614 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 08:44:00 +00:00
David Wayne Smiley 0963bc09b3 Added some documentation to the spatial.query package. Some reformatting too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356561 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 03:19:03 +00:00
Michael McCandless 5b4e1aea06 LUCENE-3892: add PForPostingsFormat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1356531 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 00:43:06 +00:00
Robert Muir 8f323e2dea merge this sentence back together
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356437 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 19:50:35 +00:00
Mark Robert Miller 38fc03163a fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356435 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 19:43:52 +00:00
Adrien Grand 8134a36e82 PackedInts: backward-compatibility tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356228 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 13:55:45 +00:00
Uwe Schindler 9cb633d5ca LUCENE-4155: Move remaining test to correct package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356192 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 11:46:24 +00:00
David Wayne Smiley 2a05dbbb3d removed @author
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356083 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 06:49:11 +00:00
David Wayne Smiley 132175856f LUCENE-4157 Ported the Solr 3 spatial test to Lucene spatial. Did a few minor other things too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356081 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 06:47:49 +00:00
Dawid Weiss 6407d49ae3 LUCENE-4160: don't take into account global tests.iters in this test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355669 13f79535-47bb-0310-9956-ffa450edef68
2012-06-30 09:01:07 +00:00
Dawid Weiss 30e17530de Ignoring until I figure out what the heck is happening.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355563 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 21:24:34 +00:00
Adrien Grand 2b3ee876a7 LUCENE-4171 entry was in the wrong section.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355352 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 13:03:07 +00:00
Adrien Grand 1e21e6ceec LUCENE-4171: Performance improvements to Packed64 (Toke Eskildsen).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355346 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 12:52:54 +00:00
Robert Muir 32a7d50eb3 LUCENE-4178: default FieldType.tokenized to true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355311 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 11:06:59 +00:00
Dawid Weiss 51c387731b LUCENE-4181: Change the semantics of @Slow on tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355310 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 10:55:26 +00:00
Dawid Weiss 11f2885a12 LUCENE-3832: Port BasicAutomata.stringUnion from Brics to Lucene.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355302 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 10:02:37 +00:00
Sami Siren f2afde8425 add missing header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355276 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 09:01:02 +00:00
Dawid Weiss b599cdf80f LUCENE-4160: making tests more robust by restoring before-the-test number of failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355263 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 08:25:07 +00:00
Dawid Weiss 63eefa822f LUCENE-4160: Bring back the functional equivalent of tests.iters.min. Added two properties: -Dtests.maxfailures=M and -Dtests.failfast=[true/false/yes/no/on/off] which control skipping tests after the first M failures have been hit or after the first failure (failfast is an alias for tests.maxfailures=1).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355258 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 08:07:56 +00:00
David Wayne Smiley 9349890f28 LUCENE-4167 migrate com.spatial4j.core.query to Lucene spatial. migrate UnsupportedSpatialOperation too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355238 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 05:09:57 +00:00
Robert Muir f008bba605 fixup changes entries that didnt make the alpha
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355204 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 01:48:24 +00:00
David Wayne Smiley 5de55e3ef4 Add ASL header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355156 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 21:00:47 +00:00
David Wayne Smiley 9418494277 LUCENE-4169 LUCENE-4175 mark Lucene spatial classes as @lucene.experimental or @lucene.internal and did a little javadoc enhancement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355126 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 19:32:24 +00:00
David Wayne Smiley 699b7c7843 LUCENE-4169 mark Lucene spatial classes as @lucene.experimental or @lucene.internal
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355120 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 19:20:06 +00:00
Ryan McKinley 8cd27eb9f7 LUCENE-4175: add missing package-info.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355071 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 16:41:47 +00:00
Steven Rowe fd16190940 LUCENE-4172: clean up redundant throws clauses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355069 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 16:39:25 +00:00
Robert Muir 93462313c3 LUCENE-4176: fix AnalyzingQueryParser to analyze range endpoints as bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355001 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 13:20:15 +00:00
Jan Høydahl e709e713d2 Fixing Javadoc warnings to make javadocs-all succeed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354864 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 08:56:18 +00:00
Ryan McKinley 8107cff79c fix javadoc error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354850 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 08:10:06 +00:00
Ryan McKinley 26d3f1f813 LUCENE-4175: adding bbox strategy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354841 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 07:36:12 +00:00
Dawid Weiss 8127865e2d LUCENE-4138: Update morfologik (polish stemming) to release 1.5.3. Changed the way morphosyntactic tags are exposed (a list of tags for a single lemma instead of a compound tag).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354840 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 07:35:36 +00:00
Dawid Weiss 25dd0dd17b Updating test statistics.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354828 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 06:32:07 +00:00
David Wayne Smiley 42abb41cdd LUCENE-4157 Improve TermQueryPrefixTreeStrategy and move makeQuery impl to SpatialStrategy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354826 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 06:26:59 +00:00
Christopher John Male c4b08cf35c LUCENE-4166: Fixed bad type checking of Circle shapes in TwoDoublesStrategy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354801 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 02:51:51 +00:00
Dawid Weiss 21f39d3e1e LUCENE-4168: Allow storing test execution statistics in an external file.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354468 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 12:45:22 +00:00
Dawid Weiss f348f0bb99 Replacing hackish with stylish...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354361 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 08:16:37 +00:00
Mark Robert Miller 1fc4347e41 SOLR-1770: Move the default core instance directory into a collection1 folder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354308 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 01:48:00 +00:00
Dawid Weiss b399df8bed LUCENE-4115: JAR resolution/ cleanup should be done automatically for ant clean/ eclipse/ resolve.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353967 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 11:47:31 +00:00
Shai Erera 82533898f2 LUCENE-4164: Improve IndexWriter.addIndexes(IndexReader) javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353843 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 07:26:44 +00:00
Robert Muir 0b4cae1b5e fix wrong version number in changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353702 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 19:10:04 +00:00
Simon Willnauer 7c26573fe3 LUCENE-4158: leave stall control on each wakeup call to prevent full flush starvation due to queued flushes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353433 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 08:46:29 +00:00
Uwe Schindler fcc0fea1f3 LUCENE-4163: Improve concurrency of MMapIndexInput.clone() by using the new WeakIdentityMap on top of a ConcurrentHashMap to manage the cloned instances. WeakIdentityMap was extended to support iterating over its keys
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353101 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 09:38:02 +00:00
Uwe Schindler a1962d37ba Prevent incorrect usage of BytesRef as I have seen quite often on the net!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353097 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 09:20:27 +00:00
Michael McCandless 947979e3e5 reduce number of open files in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353004 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 19:37:09 +00:00
Uwe Schindler 78f215f96e LUCENE-4155: Javadocs fix (very strange this @see tag...)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352967 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:52:14 +00:00
Uwe Schindler 1be9fcd984 LUCENE-4155: Add missing import changes in Kumoroji Tools (unfortunately they are not in eclipse build path, should we fix?! - I have no idea how to do this)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352949 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:17:20 +00:00
Uwe Schindler 737bb84db3 LUCENE-4155: Move & hide oal.util classes to better packages to reduce import statements and too many public classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352942 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:04:38 +00:00
Tommaso Teofili 7d3d213c04 [LUCENE-4159] - lucene queries review: adding final modifiers, removing trailing semicolons, using for each loops instead of index based iterations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352795 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 08:17:34 +00:00
Uwe Schindler a2e8a95f6a LUCENE-4162: Fix infinite loop on wrong argument in MathUtil.log
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352609 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 16:48:03 +00:00
Michael McCandless 580828461c LUCENE-4147: fix thread safety issues when IndexWriter's rollback & commit are called simultaneously
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352600 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 16:28:57 +00:00
Simon Willnauer c4e4b36037 LUCENE-4158: Simplify DocumentsWriterStallControl to prevent further deadlocks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352535 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 14:02:18 +00:00
Simon Willnauer 0ae03a37cf allow junit tempDir property to be overwritten via system properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352504 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 11:49:56 +00:00
David Wayne Smiley b4eb2841d8 LUCENE-4157 Improve Lucene Spatial testing: removed some base classes and added extensive geohash based test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352420 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 06:05:37 +00:00
Chris M. Hostetter bc646011f5 LUCENE-4146: improvements to how -Dtests.iters works with -Dtests.method/-Dtestmethod
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352238 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 17:58:08 +00:00
Michael McCandless c272f90605 add executable bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1352207 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 16:44:21 +00:00
Michael McCandless 1441cae57c LUCENE-3892: initial For patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1352200 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 16:13:44 +00:00
Michael McCandless 6b42ac3cea rely less on Thread.sleep
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352173 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 15:56:01 +00:00
Shai Erera da7991ea92 LUCENE-4156: remove synchronization from DirectoryTaxonomyWriter.getSize()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352038 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 10:37:43 +00:00
Shai Erera c62e24a4f3 remove incorrect comment from IndexSplitter javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351940 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 05:25:28 +00:00
Robert Muir 5cd8d27ba4 don't use assume here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351879 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:03:38 +00:00
Chris M. Hostetter 90cdc559d8 SOLR-3548: Fixed a bug in the cachability of queries using the {!join} parser or the strdist() function, as well as some minor improvements to the hashCode implementation of {!bbox} and {!geofilt} queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351839 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 20:27:06 +00:00
Michael McCandless 40f69e143c don't use Memory/SimpleText postings format when indexing too many tokens from random data
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351829 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 20:08:50 +00:00
Adrien Grand a94e7cd49e LUCENE-4148: Make _TestUtil able to generate random longs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351718 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 13:59:04 +00:00
Adrien Grand 831c0648f9 LUCENE-4062: PackedInts improvements.
* Direct64 now uses System.arraycopy for its bulk operations,
 * Packed64SingleBlock unnecessary optimizations have been removed.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351682 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 12:44:28 +00:00
Shai Erera 5f97ec3a7e LUCENE-4061: fix another concurrency issue with DirTaxoWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351672 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 12:30:38 +00:00
Michael McCandless e1466e8d0a suppress MemoryPostingsFormat for this test, to prevent false OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351661 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 12:03:25 +00:00
Uwe Schindler ae212ff6f6 LUCENE-3866: CompositeReader.getSequentialSubReaders() now returns unmodifiable List<? extends IndexReader>. ReaderUtil.Gather was removed, as IndexReaderContext.leaves() is now the preferred way to access sub-readers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351590 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 07:24:29 +00:00
Shai Erera 7d0d55b0bf fix CHANGES issues caused by latest commits to LUCENE-4132,4108
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351339 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 13:46:58 +00:00
Adrien Grand 9cb55ddb17 LUCENE-4149: Fix test case.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351231 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 08:28:58 +00:00
Shai Erera a11013a990 LUCENE-4132: introduce LiveIndexWriterConfig, returned from IndexWriter.getConfig()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351225 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 08:09:31 +00:00
Uwe Schindler bcaa52c562 The base calculation in ReaderUtil.Gather is so complicated, add some assert to verify that it is still correct. The code lead to another bug I fixed in CompositeReaderContext long time ago (at least it explains why Simon did it wrong...)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351129 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 17:22:28 +00:00
Uwe Schindler 7f9d6b89aa LUCENE-4106: Fix duplicate FieldCache.StopFillCacheException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351108 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 13:56:10 +00:00
Robert Muir b26fe0848e add explicit test for the same token stacked on top of itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350764 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 20:02:05 +00:00
Robert Muir d13f373e15 LUCENE-4065: disable offsets checks for now, in case the ctor gets false as a param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350723 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 18:16:13 +00:00
Michael McCandless d6a8b367d2 javadocs typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350429 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 00:02:32 +00:00
Martijn van Groningen fb1581dbbc LUCENE-4082: Added explain to ToParentBlockJoinQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350416 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 22:40:06 +00:00
Uwe Schindler ff9268e067 LUCENE-4137: BaseCompositeReader should throw exception if docids overflow
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350047 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 22:46:41 +00:00
Robert Muir ee0d911d77 LUCENE-4135: checkDateFormatSanity needs to handle ParseException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349992 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 18:59:22 +00:00
Michael McCandless 6071ad98c1 fix intermittent test failure: make sure reader pooling is on before we start the index threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349897 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 15:03:53 +00:00
Adrien Grand a71c3e7147 FST.pack: Add a link to Dawid's paper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349837 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:35:58 +00:00
Adrien Grand fb8be86ec8 Update Kuromoji dictionary following changes in FST serialization format.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349830 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:17:30 +00:00
Michael McCandless 85d7deda7d add more details on test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349828 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:13:33 +00:00
Adrien Grand 4104901e64 LUCENE-4120: FST.pack: Use packed integer arrays for improved memory efficiency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349826 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:12:44 +00:00
Robert Muir 9182f9f907 beef up test for deletes a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349802 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 12:39:39 +00:00
Robert Muir 3c69abe29f add stress test for postings reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349795 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 12:30:54 +00:00
Robert Muir 8f57bd7ea5 LUCENE-4142: AnalyzerWrapper doesn't work with CharFilters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349758 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 11:22:40 +00:00
Robert Muir 3b4602a94e fix bad assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349622 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 03:04:35 +00:00
Robert Muir d0d6478f8a test for correct shift operator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349601 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 01:02:05 +00:00
Robert Muir 919f9ce695 LUCENE-4085: improve TestBackwardsCompatibility to test Lucene 4.x features
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349510 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 20:42:19 +00:00
Simon Willnauer bc9a59a692 LUCENE-4136: reduce checkpoint frequency on regular test vs. nightly to reduce worst case duration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349502 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 20:18:40 +00:00
Robert Muir 362a046571 LUCENE-4139: compute offsets correctly for multivalued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349452 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 17:30:33 +00:00
Michael McCandless 0057c039be javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349437 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 16:55:28 +00:00
Koji Sekiguchi 2210749fbd LUCENE-4133: FVH: A weighted approach for ordered fragments, part of LUCENE-3440
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349361 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 13:59:37 +00:00
Robert Muir 4b212a7c4f sanity check offsets in checkindex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349349 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 13:42:50 +00:00
Adrien Grand 2397fb9d65 LUCENE-2357: Changing acceptableOverheadRatio from FAST to COMPACT.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349234 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 10:27:27 +00:00
Shai Erera 1db88a8665 LUCENE-4061: fix concurrency issues in DirectoryTaxonomyWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349214 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 09:40:23 +00:00
Robert Muir 25a59d8902 merge/cleanup outdated javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349063 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 23:01:25 +00:00
Robert Muir bffd120797 LUCENE-4136: temporarily make this a nightly test until its fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349058 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 22:47:49 +00:00
Robert Muir 7e6cef304b LUCENE-4131: add codecheader to .cfs/.cfe
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349052 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 22:33:13 +00:00
Chris M. Hostetter 2ac3eb27c4 LUCENE-3949: fix license headers to not be javadoc style comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348980 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:26:18 +00:00
Robert Muir bc14cec669 LUCENE-4130: fix CompoundFileDirectory.listAll when the .cfs has a segment suffix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348952 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 18:11:53 +00:00
Robert Muir 28f43e3b56 LUCENE-4129: add codecheader to .frq/.prx
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348927 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 16:12:12 +00:00
Robert Muir b7a1c626dc LUCENE-4086: remove 3.x cruft
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348907 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 15:32:34 +00:00
Robert Muir cda03034d0 LUCENE-4086: remove 3.x CFS support from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348902 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 15:26:31 +00:00
Simon Willnauer 3670f4b3c9 fix typo - thanks dawid
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348723 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 07:04:57 +00:00
Robert Muir 4110fae40b LUCENE-4127: don't let bogus offsets corrupt the index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348685 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 23:50:21 +00:00
Steven Rowe 386cc7859d Tweak recognition of beginning-of-bulleted-item to require at least one whitespace character after the bullet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348672 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 22:22:59 +00:00
Michael McCandless dba50b31e7 LUCENE-4101: add ctors create stored or not-stored variants of indexed fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348630 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 17:42:19 +00:00
Simon Willnauer 76c15cab19 LUCENE-4116: fix concurrency test for DWPTStallControl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348621 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 16:26:06 +00:00
Michael McCandless cbbf7bfc6a LUCENE-4127: don't allow 0 posInc for first token of indexed field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348606 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 14:42:34 +00:00
Steven Rowe 6d43b52cdb - Update JIRA REST API URL ("rest/api/2.0.alpha1/" -> "rest/api/2/")
- Simplify release-recognizing regex
- Recognize and linkify non-Bugzilla URLs (the Bugzilla issue URLs are broken now)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348517 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 23:23:58 +00:00
Dawid Weiss 9efa2ad629 LUCENE-4102: refactored support for SuppressCodec annotation (assumption thrown at suite level rather than method level.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348475 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 18:33:48 +00:00
Michael McCandless 0063ec8cf8 LUCENE-4117: add BytesReader to all FST arc reading APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348354 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 10:41:29 +00:00
Michael McCandless ced7b9c7cc remove stale javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348348 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 10:27:37 +00:00
Robert Muir 4e78ece771 fix changes2html to allow for -ALPHA or -BETA releases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348294 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 01:33:45 +00:00
Robert Muir e650829677 4.0.0 -> 4.0.0-ALPHA
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348289 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 00:57:26 +00:00
Robert Muir 5be5135959 fix broken assertion message (backwards)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348278 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 23:23:05 +00:00
Robert Muir 94b276cf23 LUCENE-4087: merge test restructing to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348277 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 23:22:05 +00:00
Robert Muir 6f57c2d07d add javadocs to the two versions in Constants since its confusing what is what
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348268 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 22:45:04 +00:00
Simon Willnauer 75092c24ad LUCENE-4087: throw exceptions on illegal DocValue#Type changes in IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348236 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 20:49:30 +00:00
Andrzej Bialecki 694d75773d LUCENE-4122 Remove other non-fatal refs to Payload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348222 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 20:06:24 +00:00
Simon Willnauer 28cc18d23d LUCENE-4122: remove stale Payload references in javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348212 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 19:57:53 +00:00
Andrzej Bialecki 4efdbdb2a8 LUCENE-4122 Replace Payload with BytesRef.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348171 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 17:58:41 +00:00
Robert Muir 2dd4eb3ef7 fix broken import (won't work for source release where this dir is lucene-xxx)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348014 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 10:41:17 +00:00
Andrzej Bialecki 211f9c77b7 LUCENE-4119 SegmentInfoFormat.getSegmentInfos{Reader,Writer} should be singular.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1347777 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 20:34:44 +00:00
Robert Muir 93d75d8e23 LUCENE-4115: backing out this change for dweiss (he is on mobile) until we dig on windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1347769 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 20:02:27 +00:00
Dawid Weiss 090a3bc04f LUCENE-4115: JAR resolution/ cleanup should be done automatically for ant clean/ eclipse/ resolve.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1347589 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 12:43:20 +00:00
Michael McCandless 454b16b5ac add asserts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346999 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 17:41:46 +00:00
Michael McCandless 4e52bc3ac9 consolidate checking of needsFreqs/needsOffsets when pulling docs/positions enums to the terms dict
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346995 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 17:30:39 +00:00
Michael McCandless 7f3462ec13 if -Dtests.postingsformat is specified don't pick SimpleTextCodec nor AppendingCodec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346991 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 17:16:41 +00:00
Michael McCandless 70df1a4ac5 improve test coverage of Terms.intersect
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346986 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 17:09:03 +00:00
Michael McCandless d5ae8b2487 LUCENE-4114: fix int overflow bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346983 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 16:58:45 +00:00
Shai Erera 8b5af86c45 LUCENE-4108: add replaceTaxonomy to DirectoryTaxonomyWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346784 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 08:46:10 +00:00
Robert Muir 5fb2e4a751 LUCENE-4103: don't try to analyze regexp queries in flexible qp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346645 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 22:57:19 +00:00
Dawid Weiss ddfb21b5d0 LUCENE-4111: More spinning/endless loop problems with random regex in org.apache.lucene.analysis.pattern.TestPatternReplaceCharFilter.testRandomStrings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346625 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 22:12:53 +00:00
Michael McCandless 6992cd4b32 make warmed map sync'd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346582 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 20:56:50 +00:00
Michael McCandless 2b2140b2aa don't assert warmed reader is live unless reader is NRT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346520 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 18:45:00 +00:00
Michael McCandless 24ac5fdd13 diagnostics for merged segments weren't being; add test coverage for that and for segment warming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346465 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 16:53:38 +00:00
Koji Sekiguchi 2fc08cec9e LUCENE-4113: FVH: FieldTermStack.TermInfo should provide term-weight, part of LUCENE-3440
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346434 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 15:38:49 +00:00
Dawid Weiss af57b5d282 Update SHA checksums for jars.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346383 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 13:20:27 +00:00
Dawid Weiss 3161334d2a Don't NPE on missing assertions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346382 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 13:19:40 +00:00
Dawid Weiss 36563ae507 LUCENE-4112: upgrade ant dependency to 1.8.2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346369 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 12:26:01 +00:00
Michael McCandless 5cc7658e79 add whitespace on usage help
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346322 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 09:58:01 +00:00
Steven Rowe e2bf52080c LUCENE-4107: fix javadoc typo: FielFragList -> FieldFragList
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346075 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 18:20:06 +00:00
Koji Sekiguchi 6002a37c4d LUCENE-4107: FVH: make FieldFragList plugable, part of LUCENE-3440
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346001 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 15:05:42 +00:00
Michael McCandless 459a3481f2 removed unused var
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1345542 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 18:24:28 +00:00
Michael McCandless cdfa5f32b0 remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1345541 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 18:22:11 +00:00
Michael McCandless b148c41c01 LUCENE-4098: add bulk get/set methods to PackedInts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1345540 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 18:21:24 +00:00
Michael McCandless 2dee011e58 if -Dtests.postingsformat is specified, don't use Lucene3x codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1345506 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 13:11:40 +00:00
Christopher John Male 7d87c740ee LUCENE-4019: Added support for handling rules with incorrect number of arguments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344987 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 05:13:12 +00:00
Koji Sekiguchi 55e56c0496 LUCENE-4091: add getter methods to FVH, part of LUCENE-3440
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344958 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 01:17:10 +00:00
Michael McCandless 397d0343d3 ignore OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344938 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 23:33:43 +00:00
Michael McCandless d65ba8d79e fix verbosity when infoStream is on
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344931 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 22:27:11 +00:00
Michael McCandless 5f05354817 remove silly assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344925 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 21:59:33 +00:00
Michael McCandless 9b103fa61e LUCENE-4077: expose max score and per-group (parent) scores in TopGroups returned by ToParentBlockJoinCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344844 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 18:19:27 +00:00
Robert Muir 168e73bca7 LUCENE-4096: impossible to checkindex if you use norms other than byte[]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344826 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 17:32:11 +00:00
Robert Muir bc3a3dc5d4 LUCENE-4095: remove deprecations from trunk (just the easy ones for now)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344531 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 02:07:11 +00:00
Dawid Weiss 8deb16bcf9 Minor cleanups of LuceneTestCase and reproduce string builder.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344475 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 21:37:03 +00:00
James Dyer 1dd40b0afc LUCENE-3523: Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344443 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 20:19:40 +00:00
Robert Muir 8963cf411b LUCENE-4090: PerFieldPostingsFormat cannot use name as suffix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344441 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 20:15:58 +00:00
James Dyer 2d91c246d7 LUCENE-3523: Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344401 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 18:41:13 +00:00
Robert Muir b2a864c7ce fix lucenetestcase to report the actual codec used instead of always lucene40 when a test fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344392 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 18:30:24 +00:00