Commit Graph

10575 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar 1e3aa5cee4 SOLR-2551 -- Use File.delete instead of File.setWritable to be Java 5 compatible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136789 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 07:05:29 +00:00
Uwe Schindler 3117c87d12 add changes entry for the scary Similarity setter bug in IndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136715 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 22:33:39 +00:00
Uwe Schindler d335698e89 LUCENE-3208: add backwards break entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136644 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 20:12:24 +00:00
Uwe Schindler 1ca3506f6d LUCENE-3208: Missed change in grouping module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136605 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 19:03:35 +00:00
Uwe Schindler edac2e90d2 LUCENE-3208: Renamed protected IndexSearcher.createWeight() to expert public method IndexSearcher.createNormalizedWeight() as this better describes what this method does. The old method is still there for backwards compatibility. Query.weight() was deprecated and simply delegates to IndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136568 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 17:55:04 +00:00
Yonik Seeley 4c5c3c86e2 weight value sources for pseudo-fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136526 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 16:20:43 +00:00
Michael McCandless fe7593efee LUCENE-3191: simplify API; return TopFieldDocs from TopDocs.merge if sort != null; add some missing compareValue to FC impls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136467 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 14:52:56 +00:00
Simon Willnauer 240822d45a use constants to build file names in TermInfosWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136454 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 14:29:43 +00:00
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 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