Commit Graph

12780 Commits

Author SHA1 Message Date
Shai Erera bfa06a9e30 remove redundant throws FacetException (as it's not really thrown)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302271 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 05:00:40 +00:00
Steven Rowe c4f72f61ac LUCENE-3880: UAX29URLEmailTokenizer now recognizes emails when the mailto: scheme is prepended.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302265 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 03:13:52 +00:00
Uwe Schindler 1991b61b49 Merged revision(s) 1302243 from lucene/dev/branches/branch_3x:
LUCENE-3738: Add missing backwards break

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302244 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 22:46:09 +00:00
Uwe Schindler 39e727069b LUCENE-3738: DataInput/DataOutput no longer allow negative vLongs. vInts are still supported (for index backwards compatibility), but should not be used in new code. The read method for negative vLongs was already broken since Lucene 3.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302238 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 22:27:22 +00:00
Uwe Schindler 059d4bd1c3 Merged revision(s) 1302155 from lucene/dev/branches/branch_3x:
LUCENE-3867: Add CHANGES.txt.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302156 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 16:19:38 +00:00
Uwe Schindler c429736260 LUCENE-3867: Refactor RamUsageEstimator. CHANGES.txt will be added once backported to 3.x.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302133 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 14:59:10 +00:00
Michael McCandless cd05c6f0c3 LUCENE-3878: fix CheckIndex.testTermVectors to use checkFields too; this found a bug in Lucene40's term vectors reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301939 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 13:42:54 +00:00
Jan Høydahl 52b55a13c1 SOLR-2826: Remove some dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301906 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 10:12:40 +00:00
Koji Sekiguchi e4ff34cc65 SOLR-2826: use logging rather than e.printStackTrace()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301875 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 07:06:24 +00:00
Steven Rowe 681ae58f01 SOLR-3159: Fix broken Maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301764 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 21:10:19 +00:00
Robert Muir 6687e002ec LUCENE-3878: refactor testPostings into checkFields(Fields) and also run the test ignoring deletions. TODO: refactor testVectors to use this method too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301712 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 19:17:15 +00:00
Robert Muir 241a2cbd7f LUCENE-3878: visit the document even if its deleted, just don't count anything
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301683 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 18:25:42 +00:00
Robert Muir e3dbc7c8bc LUCENE-3878: add basic liveDocs checks to CheckIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301650 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 17:07:37 +00:00
Robert Muir 70b95b5996 LUCENE-3879: fix more wrong shifts/invalid asserts for positions in 4.0 codecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301541 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:23:44 +00:00
Robert Muir f4a88d2392 LUCENE-3848: fix CHANGES typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301479 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 13:06:59 +00:00
Robert Muir 3d2d144f92 LUCENE-3848: don't produce tokenstreams that start with posinc=0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301478 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 13:06:30 +00:00
Michael McCandless 4f8375ded9 LUCENE-3877: don't print to std streams in Lucene core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301472 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 12:54:40 +00:00
Robert Muir 4f37e0f341 LUCENE-3876: don't corrupt the index (from wrong shift operator) for large documents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301466 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 12:37:58 +00:00
Simon Willnauer f779f83a95 LUCENE-3870: allow prefixes across block boundaries in PagedBytes.Reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301423 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 10:39:58 +00:00
Ryan McKinley e24e7856f0 SOLR-3159: pom should only depend on the servlet API, not container specific version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301300 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 00:55:43 +00:00
Martijn van Groningen 9a15b3f449 Rename docvalues to values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301238 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 22:09:05 +00:00
Martijn van Groningen aa83c232a7 Rename docValues to values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301236 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 22:07:50 +00:00
Martijn van Groningen 9276e43685 Rename docvalues to values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301234 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 22:06:22 +00:00
Martijn van Groningen 2e132e006a Rename docValues to values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301231 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 22:03:21 +00:00
Dawid Weiss a9539dd281 .gitignore update.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301218 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 21:43:48 +00:00
Ryan McKinley 2d28a5e9a7 LUCENE-3795: return empty array for TwoDoublesStrategy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301206 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 21:16:04 +00:00
Robert Muir faca588e93 LUCENE-3874: don't let bogus positions corrumpt the index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301155 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 19:12:41 +00:00
Michael McCandless 35dad942bb LUCENE-3872: catch case where app calls close() after prepareCommit() without the matched commit()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301142 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 18:56:11 +00:00
Erick Erickson 048721d9dc Fix for SOLR-3196
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301097 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 17:12:42 +00:00
Yonik Seeley 1e7f863f38 doc: grammar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301077 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 16:45:07 +00:00
Martijn van Groningen 308974a36d LUCENE-3778: Fixed build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300932 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 11:42:32 +00:00
Martijn van Groningen 27fedb096b LUCENE-3856: Added docvalues based grouped facet collector.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300860 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 09:31:06 +00:00
Dawid Weiss 9c362d10e6 LUCENE-3871: Dump full stack on failure. If you feel uncomfortable with long stack traces contact me and I will soothe you :)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300838 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 08:12:00 +00:00
Michael McCandless e943c4b76e LUCENE-3841: add direct test for prefix-coded byte[] spanning two pages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300753 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 22:09:34 +00:00
Michael McCandless 24bce3e8b7 LUCENE-3841: restore fillSliceWithPrefix's ability to span 2 blocks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300744 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 21:50:35 +00:00
Uwe Schindler 8bcbd04454 SOLR-3244: Fix new admin UI for Tomcat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300710 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 20:29:42 +00:00
Michael McCandless dba31ba5a5 SOLR-3076: fix ToChildBlockJoinQuery to correctly apply acceptDocs per-child
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300651 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 17:24:21 +00:00
Robert Muir 29ccdd372a SOLR-3241: document/field boosts would fail if you copyField from a norms field to an omitNorms field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300639 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 17:01:49 +00:00
Michael McCandless 6a4e492913 LUCENE-3841: fix CloseableThreadLocal to also purge entries periodically in get(), to avoid holding onto objects for too long
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300547 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 13:54:27 +00:00
Yonik Seeley d8fff9b873 LUCENE-3795: re-optimize degrees-radians conversions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300457 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 04:05:51 +00:00
Steven Rowe 8854531251 LUCENE-3795: Maven configuration: fix paths; remove analyzers-common dependency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300453 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 03:16:03 +00:00
Steven Rowe 01e6c7c3ed LUCENE-3795: simplify build file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300439 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 01:59:57 +00:00
Mark Robert Miller fe9b072490 defend against npe
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300434 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 01:34:07 +00:00
Robert Muir f7cf65f76c LUCENE-3795: use LuceneTestCase for all tests, propagate super.setUp in SpatialPrefixTreeTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300428 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 00:38:44 +00:00
Robert Muir 22b145e43e LUCENE-3795: use MockAnalyzer for testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300426 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 00:31:28 +00:00
Steven Rowe 0c447d1344 LUCENE-3795: IntelliJ IDEA configuration: fixed module name in dev-tools/idea/.idea/workspace.xml; and in spatial.iml, removed unnecessary "exported" attributes, and switched analysis-common module dependency to have TEST scope.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300424 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 00:25:28 +00:00
Ryan McKinley 2ac613aef9 LUCENE-3795: Replace contrib/spatial with modules/spatial (merge from branch)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300409 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 23:28:17 +00:00
Yonik Seeley cceaa41fc6 improve exception handling messages, don't rewrap SolrException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300408 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 23:24:01 +00:00
Yonik Seeley bd4b19f8ae doc: field naming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300325 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 20:07:05 +00:00
Yonik Seeley a56daa639c SOLR-2719: restore ability to specify fl=field-with-dashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300316 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 19:57:46 +00:00