Commit Graph

12186 Commits

Author SHA1 Message Date
Robert Muir c99756201d LUCENE-3728: split stored fields into 3x/4x so more docstore stuff can go in 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237713 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 15:19:32 +00:00
Uwe Schindler 9a6e69cf8d LUCENE-2858: Add a workaround for the broken PayloadProcessorProvider API that behaves like before our change (IR.directory() threw UOE for all non-directory based readers). I will open an issue to make PayloadProcessorProvider to get an AtomicReader instance as selection criteria for the processor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237692 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 14:56:02 +00:00
Robert Muir 1e60692bd7 consistent error messages for size mismatch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237682 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 14:36:38 +00:00
Uwe Schindler 4091d801c1 LUCENE-2858: Removal of code duplication in docFreq (made final in AtomicReader and use fields())
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237668 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 14:13:07 +00:00
Uwe Schindler 2338018bb0 LUCENE-2858: Move ReaderContextBuilder into the CompositeReaderContext class, it should only be used privately when building the CompositeReaderContext. Make the lazy init field volatile, the ensureOpen() is already volatile, so it does not hurt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237649 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 13:36:21 +00:00
Robert Muir dae9070d1f LUCENE-3728: remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237641 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 13:20:09 +00:00
Robert Muir 7487fb30f3 LUCENE-3728: tidy up copySegmentAsIs/sharedDocStore logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237637 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 13:10:47 +00:00
Robert Muir d9a73590a8 LUCENE-3728: stop invading the codecs files() for this assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237627 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 12:52:29 +00:00
Uwe Schindler 721de54e8c LUCENE-2858: Fix facets module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237618 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 12:19:21 +00:00
Uwe Schindler bfa1dec595 LUCENE-2858: Move the ReaderContexts out of their enclosing classes and make top-level classes. Makes import statements not so verbose and its much easier to understand. Prevent subclassing of IndexReader and IndexReaderContext directly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237596 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 10:46:30 +00:00
Mark Robert Miller e1cb522921 SOLR-3066: check if waiting twice as long for solrindexsearchers to be returned changes anything with searcher cnt mismatch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237536 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 02:57:42 +00:00
Koji Sekiguchi 4f26f195eb LUCENE-3719:FVH: slow performance on very large queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237528 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 02:02:53 +00:00
Uwe Schindler 6d9a3c301e Reverse merged revision(s) from lucene/dev/trunk up to 1237523
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237524 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 01:22:27 +00:00
Robert Muir 30725c0128 LUCENE-3727: merge changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237522 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 01:09:28 +00:00
Mark Robert Miller 8ea1719aef when aggressively killing leaders in tests, don't go after any leader, go after the leader for the given slice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237513 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 00:41:39 +00:00
Uwe Schindler 20fde71669 LUCENE-2858: Hide ReaderContext ctors for users. You should only get top contexts from the reader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237512 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 00:35:08 +00:00
Uwe Schindler 2d4c738067 LUCENE-2858: Rename AtomicIndexReader -> AtomicReader, CompositeIndexReader -> CompositeReader. Contexts not yet changed!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237508 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 23:50:54 +00:00
Michael McCandless 124b5e3477 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237506 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 23:22:45 +00:00
Uwe Schindler 10ba9abeb2 Reverse merged revision(s) from lucene/dev/trunk up to 1237502
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237505 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 23:19:05 +00:00
Michael McCandless d1165b1972 LUCENE-3725: add optional packing to FSTs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237500 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 22:48:45 +00:00
Michael McCandless 2e5be2f75c LUCENE-3672: reduce reliance on timestamps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237497 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 22:38:32 +00:00
Uwe Schindler f5dba8b767 LUCENE-2858: PayloadProcessorProvider is no longer useable (disabled and nocommitted), as AtomicIndexReader does not know the directory() concept anymore. It can be any reader be merged in, so the selection of provider by directory can never work (and was broken before, too - e.g. for SlowIR or FilterIR).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237496 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 22:28:04 +00:00
Uwe Schindler 1a4b926b13 LUCENE-2858: Fix NRT reopen (the logic is still horrible, but thats what current trunk does!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237492 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 21:49:06 +00:00
Uwe Schindler e7f5029e00 LUCENE-2858: Make Slow* use the inner cache key
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237443 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 20:00:00 +00:00
Uwe Schindler c1d1dfbabf LUCENE-2858: Fix broken insanity tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237432 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 19:39:42 +00:00
Uwe Schindler 4bada286dd LUCENE-2858: Fix remaining tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237418 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 19:09:10 +00:00
Uwe Schindler 42634f5f75 LUCENE-2858: Fix field caheh test (was easy, but produced millions of errors). 9 errors left...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237416 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 18:38:39 +00:00
Uwe Schindler 6a1e2cbf0f LUCENE-2858: Fix remaining index pkg tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237393 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:54:35 +00:00
Uwe Schindler af8490f4cb LUCENE-2858: Fix ParallelReader tests (ParallelReader is now atomic, makes no sense otherwise)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237382 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:36:36 +00:00
Robert Muir bd284f8084 LUCENE-2858: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237379 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:35:34 +00:00
Robert Muir bc95fc57e6 LUCENE-2858: fix tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237378 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:34:36 +00:00
Robert Muir 40ee62e573 LUCENE-2858: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237374 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:31:47 +00:00
Robert Muir a2bcb5ac9d LUCENE-2858: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237371 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:29:27 +00:00
Robert Muir 42e4a843e0 LUCENE-2858: fix tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237370 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:26:31 +00:00
Robert Muir 24129e1fa2 LUCENE-2858: fix tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237368 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:23:51 +00:00
Robert Muir b8df3e0398 LUCENE-2858: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237358 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:15:24 +00:00
Robert Muir 4a654875b9 LUCENE-2858: fix tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237357 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:14:48 +00:00
Robert Muir f8b5cf4555 LUCENE-2858: fix tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237355 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:10:33 +00:00
Robert Muir 8cda5b8a4a LUCENE-2858: fix tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237354 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:09:45 +00:00
Robert Muir 8719c6cd76 LUCENE-2858: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237352 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:08:05 +00:00
Robert Muir 1a9e9a4d49 LUCENE-2858: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237351 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:07:33 +00:00
Uwe Schindler 827d2f8c4a LUCENE-2858: Fix contrib/misc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237350 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:04:32 +00:00
Robert Muir caa766b847 LUCENE-2858: fix more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237349 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:03:36 +00:00
Robert Muir 25cb7a77dd LUCENE-2858: fix more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237345 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 17:01:16 +00:00
Robert Muir 45fdfc3822 LUCENE-2858: fix contrib/spatial
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237344 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:53:01 +00:00
Uwe Schindler c6e848d2b1 LUCENE-2858: Fix more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237342 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:52:18 +00:00
Mark Robert Miller 1aef3f9fef revert - did not help
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237341 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:51:28 +00:00
Robert Muir f85c85c240 LUCENE-2858: fix contrib/sandbox
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237340 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:51:18 +00:00
Robert Muir ba2db71886 LUCENE-2858: fix contrib/highlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237339 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:49:47 +00:00
Michael McCandless 005fec5a58 LUCENE-2795: genericize DirectIOLinuxDir -> NatuveUnixDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237338 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:49:25 +00:00