Commit Graph

11697 Commits

Author SHA1 Message Date
Koji Sekiguchi a1aefefdd9 SOLR-2922: Upgrade commons-io and commons-lang to 2.1 and 2.6, respectively.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208509 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 16:46:22 +00:00
Uwe Schindler 277c4a1a5d Merged revision(s) 1208375 from lucene/dev/branches/branch_3x:
LUCENE-3609: Fix regression in BooleanFilter, introduced in Lucene 3.5, to correctly handle minShouldMatch behaviour of previous versions

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208381 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 11:08:45 +00:00
Robert Muir 21b7c5bbee LUCENE-3584: make bulk postings codec private
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208283 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 05:19:35 +00:00
Chris M. Hostetter 2337f4687f LUCENE-3599: Fix DistanceUtils.haversine() javadocs -- were incorrectly stating the expected order of the arguments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208118 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 22:38:08 +00:00
Chris M. Hostetter 3ed5106920 SOLR-2819: Improved speed of parsing hex entities in HTMLStripCharFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208032 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 19:15:54 +00:00
Chris M. Hostetter afc71a72a6 SOLR-2861: remove inadvertant & unneeded import statement from SolrCore, and revert r1197205 that enabled maven to compile with this mistake
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208022 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 18:44:03 +00:00
Michael McCandless fa64376d11 more checking in MDW.close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207718 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 00:17:36 +00:00
Michael McCandless c80bb6e229 LUCENE-3601: fix missing incRef for _N.fnx; assert no unref'd files in MDW.close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207577 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:35:04 +00:00
Simon Willnauer 9a513f82dc LUCENE-3592: Make BytesRef#startsWith & BytesRef#endsWith static
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207564 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:15:17 +00:00
Robert Muir a629352512 LUCENE-3601: fix addIndexes(3.x index) where we get a broken CFS, termvectors unreferenced files on init failures, and crash all indexes before checkindex in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207291 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 15:21:02 +00:00
Robert Muir 739ff5dacc LUCENE-3601: beef up crash() to use random actions (not based on file count) and to sometimes leave zero-byte files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207103 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 12:23:15 +00:00
Robert Muir 4dd6b5fbed SOLR-2919: Localized rangequery support for icu/jdk collation filters, parametric tailoring for icu collators
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207070 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 11:03:24 +00:00
Shai Erera d949201403 LUCENE-3603: port to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207026 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 09:07:37 +00:00
Shai Erera 94dda4dcaa update facet/build.xml#jar-examples to include the source files as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207012 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 08:21:21 +00:00
Doron Cohen ec660c7997 LUCENE-3596: DirectoryTaxonomyWriter extensions can now set internal index writer config attributes such as info stream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206996 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 07:05:44 +00:00
Erick Erickson 4d4ec8b8c2 Updated SOLR-2438 description and added in for 3.6 backport
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206910 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 23:19:03 +00:00
Michael McCandless dda0cd73a2 LUCENE-3600: close searchers in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206817 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 19:52:40 +00:00
Michael McCandless 8a6234e76c LUCENE-3600: fix BJQ to not trip assert when parent doc has no children
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206808 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 19:30:31 +00:00
Michael McCandless 3187a7a26b LUCENE-3600: fix BJQ to not trip assert when parent doc has no children
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206807 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 19:30:17 +00:00
Robert Muir 1ee685d837 LUCENE-3590: fix copyBytes to respect offset, remove dup'ed compareTo code, add javadocs and TODOs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206789 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 18:03:22 +00:00
Michael McCandless 60d9125050 add verbosity on failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206783 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 17:52:39 +00:00
Erick Erickson 516f1a6195 Updated SOLR-2438 description
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206778 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 17:44:08 +00:00
Erick Erickson c94c1c5a64 git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206767 13f79535-47bb-0310-9956-ffa450edef68 2011-11-27 17:04:38 +00:00
Uwe Schindler 5c4063bef2 fix changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206707 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 12:15:01 +00:00
Steven Rowe 6d389eb3e7 Added news item for Solr 3.5.0 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206591 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 21:07:45 +00:00
Robert Muir 004cec8ca2 remove pkg-private sugar method in Term only used by one test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206455 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 15:12:48 +00:00
Robert Muir 9fcc72fe13 LUCENE-3590: fix javadocs warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206452 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 15:00:38 +00:00
Mark Robert Miller cca388b7c7 fix what looks like an accidental debug commit or something
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206440 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 14:13:11 +00:00
Robert Muir 9528a76608 LUCENE-3590: make public for consistency with IntsRef and BytesRef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206437 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 14:02:21 +00:00
Robert Muir 18e1ec2b9e LUCENE-3590: fix ctor/equals brokenness in BytesRef/IntsRef/CharsRef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206436 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 13:56:23 +00:00
Robert Muir 7f366cd0da LUCENE-3590: deprecate dancing comparators
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206435 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 13:32:28 +00:00
Uwe Schindler af65c91000 fix test-jsp target to be actually called (its not a compile task, it just tries to compile as the test itsself)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206270 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 17:38:56 +00:00
Yonik Seeley 1de301e90a LUCENE-3590: fix solr breakage due to bytesref changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206262 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 17:08:33 +00:00
Erick Erickson 098371446a SOLR-2438, allow an analysis chain to be created for multiterm query terms or synthesize one if not defined explicitly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206229 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 15:46:26 +00:00
Robert Muir 6870592252 LUCENE-3590: unbreak directspellchecker string handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206186 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 14:20:00 +00:00
Robert Muir 7f766cf603 LUCENE-3590: nuke BytesRef.utf8ToChars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206174 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:55:41 +00:00
Robert Muir 233a289a66 LUCENE-3590: cut over new DV grouping collectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206156 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:28:43 +00:00
Uwe Schindler 7d5ad4b409 LUCENE-3595: do acceptDocs checking after matchDoc()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206155 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:28:32 +00:00
Robert Muir 3b6da22aa7 LUCENE-3590: clearly mark bogus deep-copying apis in BytesRef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206143 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 12:50:13 +00:00
Simon Willnauer e2cddbfd43 fixed spelling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206070 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 07:59:57 +00:00
Uwe Schindler 2cf0c05869 LUCENE-3595: Fixed FieldCacheRangeFilter and FieldCacheTermsFilter to correctly respect deletions on reopened SegmentReaders. Factored out FieldCacheDocIdSet to be a top-level class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206033 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 01:21:53 +00:00
Uwe Schindler d03c59d685 Merged revision(s) 1206022 from lucene/dev/branches/branch_3x:
LUCENE-3594: Add CHANGES.txt because we have a small backwards break

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206023 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 00:12:19 +00:00
Simon Willnauer 94fae441e3 LUCENE-3593: Add a filter returning all document with at least one or no value in a field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206017 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 23:24:35 +00:00
Martijn van Groningen 9dd60fe58f LUCENE-3496: Support grouping by IndexDocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205960 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 19:07:59 +00:00
Uwe Schindler 8d7ed3549a LUCENE-3588: Missed NPE -> AlreadyClosedException in getFilePointer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205954 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 18:39:44 +00:00
Simon Willnauer 6bdb9f9f06 LUCENE-3591: Make BytesRef.copy[Int,Short,Long] package private for IndexDocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205937 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 17:20:35 +00:00
Robert Muir 145d6e8d92 rename the 3 bytesref.copy methods to avoid type promotion traps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205842 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 14:24:43 +00:00
Robert Muir 0ec321de3f LUCENE-3589: fix BytesRef.copy(short) to set its length and clean house on unused methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205836 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 14:09:56 +00:00
Shalin Shekhar Mangar 44fc56dc92 SOLR-2912 -- Fixed File descriptor leak in ShowFileRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205774 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 10:11:06 +00:00
Uwe Schindler 1ba08eda03 * LUCENE-3588: Try harder to prevent SIGSEGV on cloned MMapIndexInputs: Previous versions of Lucene could SIGSEGV the JVM if you try to access the clone of an IndexInput retrieved from MMapDirectory. This security fix prevents this as best as it can by throwing AlreadyClosedException also on clones.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205430 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 15:13:50 +00:00