Commit Graph

9977 Commits

Author SHA1 Message Date
Uwe Schindler 679cfee191 LUCENE-3054: PhraseQuery can in some cases stack overflow in SorterTemplate.quickSort(). This fix also adds an optimization to PhraseQuery as term with lower doc freq will also have less positions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098633 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 15:47:38 +00:00
Simon Willnauer 11bed874c2 LUCENE-3062: Fix test to be more tolerant and accept duplicates generated by randomRealisticUnicodeString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098625 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 15:23:22 +00:00
Uwe Schindler 744840f141 LUCENE-3023: Fix quicksort re-incarnation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098592 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 14:22:22 +00:00
Shai Erera fda913a790 LUCENE-3061: Open IndexWriter API to allow custom MergeScheduler implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098576 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 14:00:43 +00:00
Robert Muir a75e5282c7 collation tests: try to find less jre bugs and just test thread safety
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098532 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 12:03:14 +00:00
Simon Willnauer 0b5ba4404c LUCENE-3023: fixed TestFlushByRamOrCountsPolicy test-case and removed uncommented leftovers from RT branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098504 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 07:19:57 +00:00
Robert Muir c096f2e1e6 LUCENE-3023: clear javadocs errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098461 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 02:31:01 +00:00
Uwe Schindler 2a969f828c LUCENE-3023: Land DWPT on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098427 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 22:38:33 +00:00
Simon Willnauer 0528549d17 LUCENE-3057: removed false return statement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098375 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 17:43:30 +00:00
Simon Willnauer d3c5769911 LUCENE-3057: LuceneTestCase#newFSDirectoryImpl misses to set LockFactory if ctor call throws exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098367 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 16:55:13 +00:00
Robert Muir c64646f1aa LUCENE-3053: don't wrap the IIR with SlowMultiReaderWrapper, this realtime functionality is not compatible with multireader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098357 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 15:41:57 +00:00
Michael McCandless 43a9b349de false test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098347 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 14:58:18 +00:00
Robert Muir d622e54172 LUCENE-3053: improve test coverage for Multi*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098303 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 13:53:04 +00:00
Michael McCandless a47d4b835b LUCENE-3052: missing sync in private (test only) codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097848 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 15:42:30 +00:00
Robert Muir b8bec47630 merge trunk (1097442:1097764)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097767 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 11:03:16 +00:00
Simon Willnauer b33ec26192 LUCENE-3023: added changes.txt entry for DWPT LUCENE-2956, LUCENE-2573, LUCENE-2324, LUCENE-2555
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097759 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 10:20:06 +00:00
Simon Willnauer 242b87f414 LUCENE-3023: re-added accidentially removed deprecations from LUCENE-2555
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097739 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 09:19:30 +00:00
Michael McCandless 9f2affb665 LUCENE-2814: advertise trunk-only BW break
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097733 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 08:51:36 +00:00
Michael McCandless fe1a1fbdec fix false test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097627 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 21:49:41 +00:00
Simon Willnauer 47baa4ba94 LUCENE-3023: moved IWC.DEFAULT_MAX_THREAD_STATES into DocumentsWriterPerThreadPool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097534 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 16:22:14 +00:00
Michael McCandless 870f7e005e whitespace/better names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097523 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 16:03:30 +00:00
Michael McCandless 1a1060611c also set tvd/tvf to null after close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097521 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 16:03:10 +00:00
Simon Willnauer 726654c1ab LUCENE-3023: push global deletes if no document was flushed during global flush
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097510 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 15:39:52 +00:00
Michael McCandless 3ee258ae1b minor code formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097494 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 14:59:45 +00:00
Robert Muir e02fe6ebb0 merge trunk (r1097339)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097442 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 13:05:51 +00:00
Simon Willnauer 0ee7cba028 LUCENE-3023: manually merged missed chunks from trunk and minor cleanup after review patch from re-integration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097440 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 12:55:12 +00:00
Simon Willnauer f47c3e8298 LUCENE-3023: cleaned up javadoc with respect to DWPT changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097381 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 09:38:04 +00:00
Simon Willnauer 7e91c2bbde LUCENE-3023: reenabled lost infostream output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097380 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 09:24:39 +00:00
Simon Willnauer 2245b7960f enhanced assert message in testAddIndexesWithThreads()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097339 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 07:22:06 +00:00
Simon Willnauer b94b44bf14 LUCENE-3023: re-enabled testIndexingThenDeleting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097333 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 06:22:16 +00:00
Robert Muir 46c9175e76 LUCENE-3023: add changes that were lost (e.g. marked as merged but somehow didnt make it in)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097270 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 23:01:38 +00:00
Robert Muir 42478556a5 merge r1097187
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097228 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 20:14:30 +00:00
Robert Muir 9ba804541d missing svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097225 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 20:08:49 +00:00
Robert Muir 1f67321074 missing svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097216 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 19:40:18 +00:00
Michael McCandless 9accd70058 fix false failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097187 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 17:25:55 +00:00
Robert Muir 4d73a6f931 merge trunk (1096303:1097172)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097176 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 16:52:19 +00:00
Simon Willnauer d48400be20 LUCENE-3023: more cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097169 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 16:25:00 +00:00
Simon Willnauer cf67e6eb58 LUCENE-3023: fixed test case to not depend on num cpus
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097158 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 15:55:33 +00:00
Simon Willnauer 0e7dfa2bcd LUCENE-3023: make sure we don't miss a new initialized DWPT when flushing all DWPT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097156 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 15:47:45 +00:00
Simon Willnauer f89d7b4ee0 added some debug information
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097138 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 15:11:23 +00:00
Simon Willnauer 3e833dd79f LUCENE-3048: Improve BooleanQuery rewrite documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097133 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 14:50:02 +00:00
Simon Willnauer 9c47a99ab6 fixed tests.iter.min to fail after specified iterations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1097097 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 12:39:08 +00:00
Adriano Crestani Campos 5432f9de62 LUCENE-3045: QueryNodeImpl.containsTag(String) should lowercase the tag key
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1096983 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 02:49:17 +00:00
Yonik Seeley 3dd0b7f278 SOLR-2272: Pseudo-join
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1096978 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 01:42:05 +00:00
Robert Muir 6381b26dc4 SOLR-2272: revert r1096831
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1096835 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 18:22:56 +00:00
Yonik Seeley 1e167ed304 SOLR-2272: re-commit join which was inappropriately reverted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1096831 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 18:15:12 +00:00
Simon Willnauer 8fb4f5a766 LUCENE-3023: more cleanup, asserts and javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1096780 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 15:18:02 +00:00
Robert Muir 36de6a9ef0 SOLR-2272: revert r1096610
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1096764 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 14:35:23 +00:00
Michael McCandless d631ef1a1c add some more todos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1096737 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 12:18:30 +00:00
Simon Willnauer fa1ac87eaa LUCENE-3023: some polishing & removed all nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1096731 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 11:41:09 +00:00