Commit Graph

12899 Commits

Author SHA1 Message Date
Robert Muir 8501d55c07 merge trunk (1237250:1237842)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237850 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:56:40 +00:00
Robert Muir c024c2e341 LUCENE-3728: add note to this infostream that it includes docstores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237842 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:50:08 +00:00
Robert Muir 8421cdfbb9 LUCENE-3728: remove outdated nocommit, not relevant since we dont repack CFS on addindexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237822 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:37:17 +00:00
Robert Muir 4e620c58da LUCENE-3728: remove separateFiles mess, remove CFX from IndexFileNames, preflex codec handles this hair itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237820 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:33:52 +00:00
Uwe Schindler 10614f9b26 LUCENE-2858: Port Java to new API, share slow reader as SolrIndexSearcher.getAtomicReader()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237812 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:29:22 +00:00
Michael McCandless 9169b24c84 minor FST fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237809 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:24:16 +00:00
Mark Robert Miller 76fc82a199 SOLR-3075: Overseer does not check cloudstate for previously assigned shardId but generates a new one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237803 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:16:54 +00:00
Robert Muir 3cab173f7c LUCENE-3728: doesn't need to be instance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237771 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 16:40:55 +00:00
Michael McCandless 6a2652a331 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237770 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 16:40:32 +00:00
Robert Muir cdc68d0921 LUCENE-3728: remove unnecessary code from SCR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237768 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 16:38:50 +00:00
Robert Muir 846338c0dc LUCENE-3728: push compound shared doc stores reading into 3.x codec (only 3.0 indexes, only a hit if you also have vectors)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237746 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 16:02:37 +00:00
Uwe Schindler 0d7055bf3d LUCENE-2858: Reverse merged revision(s) from lucene/dev/trunk up to 1237714
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237716 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 15:27:25 +00:00
Robert Muir 668dea8016 LUCENE-3728: remove obselete TODO
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237714 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 15:22:11 +00:00
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