Commit Graph

10929 Commits

Author SHA1 Message Date
Michael McCandless 0a79de7a99 try to catch int overflow in ArrayUtil.grow/shrink
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144294 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:47:41 +00:00
Simon Willnauer 13f9f590ec LUCENE-3294: Some code still compares string equality instead using equals
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144280 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:15:04 +00:00
Simon Willnauer 74cb0a71bc close PerDocConsumer during flush to ensure all files are written in the CFS case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144278 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:09:32 +00:00
Simon Willnauer ac3f91daa2 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144270 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 11:27:13 +00:00
Simon Willnauer 6c5621f16c fixed dead store variable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144269 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 11:26:03 +00:00
Robert Muir 96c5589308 LUCENE-3290: fix bug, sumTotalTermFreq is a vlong
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144257 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 11:12:07 +00:00
Simon Willnauer b1142c17b4 use short-circuit logic to save extra comparsion & method invocation in BlockTermsReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144241 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:32:06 +00:00
Michael McCandless 255ae3e9bf fix per-segment test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144236 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:14:59 +00:00
Simon Willnauer e94f5fcc99 fixed javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144223 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:49:23 +00:00
Simon Willnauer c49d2d5d84 LUCENE-2793: Directory#createOutput & Directory#openInput now accept an IOContext instead of a buffer size to allow low level optimizations for different usecases like merging, flushing and reading.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144196 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 08:52:40 +00:00
Simon Willnauer feb9739bf7 merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE2793@1144189 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 08:09:32 +00:00
Steven Rowe 4505c08643 SOLR-2452: merged with trunk up r1144161; applied the svn movement script and the latest version of the post-svn-movement patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1144174 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 06:41:23 +00:00
Dawid Weiss 2b2b97f25b Applied folder moves and renames before merge in SVN r1144174. 2016-01-23 01:17:32 +01:00
Dawid Weiss db22b4d1f7 Applied folder moves and renames before merge in SVN r1144174. 2016-01-23 01:17:07 +01:00
Robert Muir ea67cd8b2c LUCENE-2392: decouple vector space scoring from Query/Weight/Scorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144158 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 05:08:05 +00:00
Mark Robert Miller 4163a4a955 not true actually - we do have to run through this tokenstream again anyway, so this is necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144129 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 02:26:11 +00:00
Steven Rowe 28dab8437f SOLR-2331: fix Windows file deletion failure due to a lock held by an unclosed anonymous input stream created for the purpose of debug printing; also, wrap the debug printing in an 'if (VERBOSE) { }' block so that it doesn't get ordinarily get invoked.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144088 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 22:56:20 +00:00
Chris M. Hostetter dd55ad4397 SOLR-2230: fix CommonsHttpSolrServer so that multiple addFile calls work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144038 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 21:11:21 +00:00
Chris M. Hostetter fd337c605c SOLR-2538: Fix overflow but in range faceting on long/double when values bigger then max int/float are used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144014 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 20:18:55 +00:00
Robert Muir d10de2c435 merge 3.3 release announcement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143943 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 18:01:19 +00:00
Simon Willnauer 7293dc9c95 SOLR-2640: Error message typo for missing field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143938 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 17:54:56 +00:00
Steven Rowe 69009a84cb SOLR-2634: added maven repository password authentication to artifact deployment macros as an alternative to private key authentication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143878 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 15:18:02 +00:00
Simon Willnauer 3ad65686e5 don't close segment private doc producers during merge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143855 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 14:48:31 +00:00
Simon Willnauer 3d5532d75b fixed possible NPE if called during initialization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143814 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 13:34:32 +00:00
Simon Willnauer 645ecb8dfc cutover more closeables to IOUtils.closeSafely
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143801 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 12:50:02 +00:00
Simon Willnauer 9e353584f9 separated docvalues merging from terms merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143795 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 12:33:47 +00:00
Simon Willnauer fc0ecb9bb1 fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143791 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 12:21:44 +00:00
Uwe Schindler d85c2e13dc remove useless TS.reset() call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143783 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:58:12 +00:00
Simon Willnauer 5abd2b1085 LUCENE-3216: Store DocValues per segment instead of per field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143776 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:48:56 +00:00
Simon Willnauer b448fc6ef7 LUCENE-3279: Allow CFS to be empty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143766 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:30:57 +00:00
Simon Willnauer 1bbac1ac4f LUCENE-2793: added changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE2793@1143755 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:54:13 +00:00
Simon Willnauer 4be688e68d merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE2793@1143719 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:03:58 +00:00
Simon Willnauer 057e026a85 LUCENE-2793: next iteration on IOContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE2793@1143677 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 06:50:43 +00:00
Noble Paul a66a97c5db missing license headers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143672 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 06:38:01 +00:00
Christopher John Male 6890f6fbc9 LUCENE-3278: Renamed contrib/queryparser project to queryparser-contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143615 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 00:50:54 +00:00
Steven Rowe 9abc6a2912 SOLR-2452: Merged with trunk up to r1143468
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1143567 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 21:16:33 +00:00
Uwe Schindler bec184fa39 LUCENE-3179: Add missing long methods and add good tests for uncovered code. The cutover to Long.numberOfLeadingZeroes was not done, see issue comment.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143558 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 20:43:55 +00:00
Michael McCandless 18cbe7ce70 clarify exception message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143420 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 14:03:54 +00:00
Michael McCandless b55eeb510d LUCENE-3246: invert getDelDocs to getLiveDocs as pre-cursor for LUCENE-1536
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143415 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 13:54:38 +00:00
Yonik Seeley e7722eebe5 tests: fix too many closes on core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143412 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 13:48:28 +00:00
Christopher John Male e20472a927 LUCENE-3273: Removed nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143244 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 02:45:22 +00:00
Yonik Seeley 64410c6b88 SOLR-2636: Fix explain functionality for negative queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143238 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 01:18:33 +00:00
Mark Robert Miller 0a3f804518 SOLR-2331: Refactor CoreContainer's SolrXML serialization code and improve testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143235 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 00:37:21 +00:00
Christopher John Male 36330b50b4 LUCENE-3274: Collapsed common module into lucene core util, removed module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143234 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 00:28:34 +00:00
Christopher John Male e91f6033fe LUCENE-3273: Converted all Lucene core tests away from using QueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143231 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 00:08:07 +00:00
Steven Rowe 470154ca59 LUCENE-3276: Add Maven build Solr core runtime dependency on wstx-asl stax parser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143211 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 22:01:50 +00:00
Robert Muir ed7f63affd beef up BaseTokenStreamTestCase.checkRandomData
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143189 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 19:57:26 +00:00
Yonik Seeley c30b8d6cd8 javadoc: fix Terms.totalTermFreq desc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143155 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 18:04:27 +00:00
Erik Hatcher acd4af384c typo fix in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143145 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 17:04:53 +00:00
Steven Rowe 4683065f47 LUCENE-3228: Switch online javadoc links to a hopefully more reliable URL.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143133 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 16:42:37 +00:00