Commit Graph

10778 Commits

Author SHA1 Message Date
Simon Willnauer f01acfa744 use constants to build file names in PreFlexFields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136450 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 14:18:16 +00:00
Michael McCandless 38b838b25a fix silly test bugs (thanks selckin!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136357 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 10:15:20 +00:00
Simon Willnauer aa6966782f LUCENE-3190: prevent assert from false fail with very low maxBufferedRam settings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136086 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:38:38 +00:00
Michael McCandless a1e74fd6c9 LUCENE-3191: add TopDocs.merge, TopGroups.merge, SearchGroup.merge, to make sharding easier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136080 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:12:48 +00:00
Koji Sekiguchi 3d8fc3de5d fix luceneMatchVersion in uima test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136027 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 13:20:09 +00:00
Shalin Shekhar Mangar 6aaaf9ca94 SOLR-2551 -- Check dataimport.properties for write access (if delta-import is supported in DIH configuration) before starting an import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135954 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 08:24:04 +00:00
Steven Rowe f4bfaca2ec LUCENE-3204: Added attribution to CHANGES.txt entries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135825 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 22:03:08 +00:00
Steven Rowe b95cdf3e69 LUCENE-3204: Removed redundant path for maven-ant-tasks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135822 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:57:32 +00:00
Steven Rowe 1cd8fc8225 LUCENE-3204: Added NOTICE file for maven-ant-tasks jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135818 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:47:30 +00:00
Steven Rowe 72d043e3ec LUCENE-3204: Include maven-ant-tasks jar in the source tree and use this jar from generate-maven-artifacts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135801 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:23:31 +00:00
Michael McCandless 6e2a28b6f6 add comment to clarify confusing test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135764 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:43:04 +00:00
Steven Rowe 31ae73d63b Merged with trunk up to r1135758
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1135759 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:26:27 +00:00
Steven Rowe d0e0dc3f6e Added *.docx as a resource pattern (Solr Cell has a .docx test file)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135757 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:23:57 +00:00
Steven Rowe 0fc86fd59e Added lucene/src/tools/java/ as a source directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135756 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:22:54 +00:00
Michael McCandless 44372abfcd LUCENE-2955: speed up new test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135670 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 16:09:19 +00:00
Michael McCandless 60eb65bbcc LUCENE-2955: add NRTManager/ReopenThread for simple control over NRT reopening and controlled visiblity of specific indexing changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135658 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 15:54:35 +00:00
Michael McCandless 8170f59839 LUCENE-3198: use MMapDir by default (in FSDir.open) on Linux, 64 bit JRE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135650 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 15:38:58 +00:00
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