Commit Graph

12179 Commits

Author SHA1 Message Date
Uwe Schindler ffbeee0834 LUCENE-2858: Fix test failure, this was my fault when rewriting this test to work type-safe :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238835 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 22:34:42 +00:00
Michael McCandless 0ef0cdf79e use binary search for array arcs in FST.getByOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238832 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 22:30:49 +00:00
Mark Robert Miller 942b41c004 don't lazy load the replication handler - you can miss replicating commits that happen before the handler is loaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238814 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 21:05:42 +00:00
Uwe Schindler 00a959eaa2 LUCENE-2858: Fix the ensureOpen() bug in SlowCompositeReaderWrapper: It cached the MultiFields in its ctor, but when the underlying reader was closed the cached fields were not valid anymore. The test did not close the slow reader but the inner DR. I also added a missing ensureOpen() in SR.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238788 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 20:23:07 +00:00
Uwe Schindler 1452c34e82 Remove obsolete ensureOpen()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238772 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 19:49:56 +00:00
Mark Robert Miller a4591b1f05 SOLR-3081: default warming queries to distrib=false
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238744 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 18:54:56 +00:00
Mark Robert Miller f733000e0f better error msg than NPE when collection cannot be found
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238697 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 17:24:05 +00:00
Mark Robert Miller 0d8d2f48e4 allow for over closing SolrZkClient as we do with SolrCore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238680 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:58:18 +00:00
Martijn van Groningen cf538e6f74 SOLR-3073: Fixed 'Invalid UUID string' error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238678 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:56:38 +00:00
Mark Robert Miller d3e50cad5f don't do an extra close - this will happen at shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238677 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:56:32 +00:00
Steven Rowe 167982a5b4 LUCENE-3737: IntelliJ IDEA configuration: Fix module references in .idea/ant.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238671 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:44:39 +00:00
Steven Rowe 2d3d42f29b IntelliJ IDEA configuration: Alphabetize entries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238670 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:42:50 +00:00
Steven Rowe aec9985944 IntelliJ IDEA configuration: removed obsolete Ant library
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238668 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:39:26 +00:00
Michael McCandless a06dfd60d3 fix javadocs (thanks rboulton)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238659 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:19:45 +00:00
Robert Muir a7872618f6 remove obselete TODO
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238124 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 01:18:32 +00:00
Robert Muir c029ce6878 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238120 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 00:51:13 +00:00
Uwe Schindler 6b51b542b7 Remove redundant cast
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238119 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 00:50:58 +00:00
Robert Muir 8da58485de add missing package descriptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238113 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 00:35:29 +00:00
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