Commit Graph

10761 Commits

Author SHA1 Message Date
Uwe Schindler 0ae7396314 LUCENE-3200: MMapDirectory now uses chunk sizes that are powers of 2. When setting the chunk size, it is rounded down to the next possible value. The new default value for 64 bit platforms is 2^30 (1 GiB), for 32 bit platforms it stays unchanged at 2^28 (256 MiB). Internally, MMapDirectory now only uses one dedicated final IndexInput implementation supporting multiple chunks, which makes Hotspot's life easier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135537 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 12:50:22 +00:00
Michael McCandless 5b5936d60d add Override comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135527 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 12:28:45 +00:00
Michael McCandless 562f10c4e8 can't override interface until Java 1.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135525 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 12:25:44 +00:00
Robert Muir 69790c3c0c add assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135509 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 12:07:34 +00:00
Dawid Weiss 7614bedc9d LUCENE-3202: Add DataInput/DataOutput subclasses that delegate to an InputStream/OutputStream.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135506 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 12:03:56 +00:00
Noble Paul 7e9aeac79b SOLR-2206 MailEntityProcessor has mispelled words
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135495 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 11:39:50 +00:00
Dawid Weiss 931c829406 Replaced magic constants with END_LABEL. I don't like this END_LABEL thingy... it makes code more complex and, worse of all, it makes having -1 label on a transition impossible.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135487 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 11:13:27 +00:00
Simon Willnauer e4873244eb adding more info to assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135450 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 10:01:58 +00:00
Robert Muir bda410110f fix crazy formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135369 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 02:57:43 +00:00
Robert Muir f2150e2919 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135300 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:43:00 +00:00
Simon Willnauer fd891d7ef8 LUCENE-3196: Optimize FixedStraightBytes for bytes size == 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135293 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:34:21 +00:00
Shai Erera a58aa65924 LUCENE-3193: remove @override for interface method implementations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135239 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 19:28:50 +00:00
Steven Rowe e75ece66b8 SOLR-2590: updated link to Jenkins-built Lucene trunk javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135206 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 18:12:47 +00:00
Shai Erera b6a0959af6 LUCENE-3193: add TwoPhaseCommit interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135204 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 18:07:27 +00:00
Yonik Seeley f3225e0153 SOLR-2136: fix SimpleBoolFunction.equals()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135168 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 16:48:04 +00:00
Uwe Schindler 5e66d65bfd SOLR-2400: Use int[] for position history in serialization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135154 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 16:03:20 +00:00
Koji Sekiguchi 0e96bce83e SOLR-2582: Use uniqueKey for error log in UIMAUpdateRequestProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135011 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 02:37:57 +00:00
Koji Sekiguchi 52e432be3a SOLR-2581: UIMAToSolrMapper wrongly instantiates Type with reflection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135009 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 02:21:10 +00:00
Uwe Schindler 39e48e33e2 show stderr of changes perl script in ANT log - not in output file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134998 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 22:26:56 +00:00
Uwe Schindler 3887e4bb91 make script execution fail if rest api is inaccessible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134995 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 22:13:26 +00:00
Uwe Schindler 84c10b766b Correct and improve some changes entries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134937 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 15:35:40 +00:00
Uwe Schindler 1472627948 update backwards instructions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134918 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 11:43:18 +00:00
Uwe Schindler 1312ea088f LUCENE-3188: Fix CheckIndex for empty indexes without segments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134895 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 09:50:32 +00:00
Steven Rowe 3bc70d2368 LUCENE-3188: contrib/misc IndexSplitter creates indexes with incorrect SegmentInfos.counter; added CheckIndex check & fix for this problem
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134829 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 23:39:03 +00:00
Robert Muir 18e62ed503 LUCENE-3194: remove PDF files from website
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134781 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 21:54:39 +00:00
Robert Muir 8838de026f LUCENE-3166: src/site should not be built under /docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134763 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 21:19:43 +00:00
Uwe Schindler c884384d5c SOLR-2400: Field- and DocumentAnalysisRequestHandler now provide a position history for each token, so you can follow the token through all analysis stages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134685 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 16:46:59 +00:00
Koji Sekiguchi 86b864324a fix default MergePolicy in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134592 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:29:06 +00:00
Steven Rowe 6923a83aaf LUCENE-3181: Removed dependence on the JSON module, which apparently isn't available in the perl installation on the lucene jenkins slave, causing the script to fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134515 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 04:40:51 +00:00
Steven Rowe c98779dd12 SOLR-2452: merge with trunk up to r1134392
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1134403 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 18:17:44 +00:00
Simon Willnauer cf94c3bd49 removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134340 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:22:01 +00:00
Robert Muir eca56e0564 LUCENE-152: minor optimization to avoid some char[]/String creation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134328 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 14:00:32 +00:00
Simon Willnauer 6f8344a2f7 cut over to IOUtils#closeSafely
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134326 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 13:49:57 +00:00
Simon Willnauer ea0428f173 LUCENE-3108: Land DocValues on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134311 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 13:18:54 +00:00
Simon Willnauer dd7fec9795 merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1134287 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 12:05:03 +00:00
Koji Sekiguchi 739efd5913 SOLR-2579: UIMAUpdateRequestProcessor ignore error fails if text.length() < 100
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1134163 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 01:16:08 +00:00
Michael McCandless 3ad6ba55d5 LUCENE-3183: fix corner case seeking to Term(, )
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1133937 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:32:17 +00:00
Yonik Seeley a54dbc985c debugging: show when coord is disabled
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1133872 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 13:48:11 +00:00
Simon Willnauer 8a9d2ce4fa LUCENE-3108: manually merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1133855 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 13:11:28 +00:00
Uwe Schindler b662041cbc fix small issue in docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1133839 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 12:54:47 +00:00
Simon Willnauer e0c2a0186b merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1133828 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 12:31:48 +00:00
Simon Willnauer b9455527c5 LUCENE-3108: make IR#docValues final in IR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1133823 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 12:25:00 +00:00
Simon Willnauer 04fe5d0c5e catch up with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1133818 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 12:16:33 +00:00
Simon Willnauer 2007a4b4e0 Remove @Version tags from JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1133805 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 11:43:35 +00:00
Simon Willnauer a04ab445f6 LUCENE-3108: added changes.txt entry for indexdocvalues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1133797 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 11:26:06 +00:00
Simon Willnauer d60692f4b4 LUCENE-3108: manually merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1133794 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 11:24:48 +00:00
Simon Willnauer 622564d474 LUCENE-3108: revered README.TXT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1133785 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 10:44:25 +00:00
Michael McCandless 2a6315db4a tweak javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1133768 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 10:17:13 +00:00
Simon Willnauer e02b59e21e LUCENE-3108: removed invalid todo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1133754 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 09:44:18 +00:00
Simon Willnauer 345bc1653d catch up with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1133734 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 09:07:55 +00:00