Commit Graph

12311 Commits

Author SHA1 Message Date
Uwe Schindler 1648670485 LUCENE-2858: Fix remaining TODO: Re-add FieldCache insanity checking, got lost as tricky to implement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238112 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 00:33:19 +00:00
Robert Muir 59c8c9e67e LUCENE-2858: javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238100 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 00:08:09 +00:00
Robert Muir f3d7e54321 LUCENE-2858: add missing javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238099 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 00:04:28 +00:00
Robert Muir d7b1f5086c add javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238097 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 23:57:07 +00:00
Uwe Schindler 226c270cd2 LUCENE-2858: Split IndexReader in AtomicReader and CompositeReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238085 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 23:34:03 +00:00
Uwe Schindler 57e33cf135 LUCENE-2858: fix remaining nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238050 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 22:31:51 +00:00
Uwe Schindler 13a061943c LUCENE-2858: one more... I think it's ready!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238036 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 22:08:26 +00:00
Uwe Schindler 8690eedad0 LUCENE-2858: Add missing Javadocs for the new base classes. I think it's ready!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238034 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 22:05:30 +00:00
Uwe Schindler 18533af348 LUCENE-2858: Fix Javadoc warnings, still missing some text for new classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238026 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 21:45:08 +00:00
Robert Muir 3ea54b5401 merge trunk (1237715:1238015)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238024 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 21:19:54 +00:00
Robert Muir 8e0a95de17 LUCENE-3728: better handling of files inside/outside CFS by codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238015 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 21:13:18 +00:00
Robert Muir ea1299a074 LUCENE-3728: remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1237885 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 18:16:54 +00:00
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