Commit Graph

22567 Commits

Author SHA1 Message Date
Yonik Seeley 0c32d78135 SOLR-7110: tests - java7 compilable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673270 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 20:15:53 +00:00
Yonik Seeley a8fa1435ea tests: javabin deserialiation perf test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673265 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 19:59:21 +00:00
Shalin Shekhar Mangar dfba8c322b SOLR-7384: Disable the failing tests until the root cause is fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673262 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 19:04:55 +00:00
David Wayne Smiley 414b1ea098 SOLR-6692: When using hl.maxMultiValuedToMatch with hl.preserveMulti, only count matched snippets.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673216 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 14:53:56 +00:00
Timothy Potter c12f09faaf Align CHANGES.txt with 5.1.0 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673215 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 14:52:01 +00:00
David Wayne Smiley f5071289e7 SOLR-6692: hl.maxAnalyzedChars should apply cumulatively on a multi-valued field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673200 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 14:08:07 +00:00
David Wayne Smiley c6482c1488 SOLR-6692: Don't round highlight fragment scores for ordering purposes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673185 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:48:57 +00:00
David Wayne Smiley 0a0dcefb95 SOLR-6692: Made standard highlighter more extensible
Private methods are now protected, removed bad constructor, and refactored out getFieldValues() and getResponseForFragments() for both clarity and sub-class extension utility.  Some refactoring of doHighlightingByHighlighter to clarify logic.  These changes should have ZERO effect on highlights.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673183 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:35:35 +00:00
Shalin Shekhar Mangar 4a4d96600a SOLR-7384: Fix spurious failures in FullSolrCloudDistribCmdsTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673176 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:05:34 +00:00
David Wayne Smiley bde056c763 LUCENE-6196: Geo3d initial checkin
Deltas from Karl's first upload: change of package, some hashCode() impls, a few toString() impls, some javadoc formatting.   New Geo3dRtTest.  Geo3dShape throws an exception if not geo.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1673165 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 12:01:38 +00:00
David Wayne Smiley 45d453b76e geo3d
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1673163 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 11:51:59 +00:00
Yonik Seeley dedf2be833 SOLR-7110: reformat new code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673161 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 11:39:56 +00:00
Noble Paul 185f8ea2c6 SOLR-7110: Optimize JavaBinCodec to minimize string Object creation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673149 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 10:32:04 +00:00
Adrien Grand 69af3beaed LUCENE-6409: Fixed integer overflow in LongBitSet.ensureCapacity.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673123 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 07:13:59 +00:00
Adrien Grand 8fe8e84278 LUCENE-6416: BooleanQuery.extractTerms now only extracts terms from scoring clauses.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673120 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 07:01:29 +00:00
Adrien Grand 9b060c407e LUCENE-6415: Make TermsQuery.extractTerms a no-op instead of throwing an UOE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673118 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:40:38 +00:00
Shalin Shekhar Mangar 2c9ae41b78 SOLR-7381: Improve logging by adding node name in MDC in SolrCloud mode and adding MDC to all thread pools
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673116 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:09:53 +00:00
Robert Muir e186b220d3 fix slowness of TestFSTs and factor out monster test from TestTimSorter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673104 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 04:58:16 +00:00
Robert Muir 0fc8b68711 fix slow parameters in test (just behave that way during NIGHTLY)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673098 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 04:29:15 +00:00
Robert Muir 866a0bbcb1 add a few more spans tests and fix bug in positions check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673093 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 03:55:12 +00:00
Uwe Schindler 9bc70ac037 LUCENE-6420: Update forbiddenapis to v1.8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673077 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 00:14:28 +00:00
Michael McCandless 8332668279 LUCENE-5879: fix ob1 that caused OOME in test when min and max auto-prefix terms was 2; attempt to simplify empty string case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673075 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 22:43:15 +00:00
Robert Muir b84749fe51 LUCENE-6411: don't expect test filter to have a factory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673071 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 22:17:20 +00:00
Robert Muir b737186489 LUCENE-6411: improve spans tests, wrap with asserting at every level, cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673066 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 21:39:34 +00:00
Robert Muir ddf0c1d231 LUCENE-6418, LUCENE-6411: add AssertingSpans and fix the bugs it found
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673036 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 18:24:14 +00:00
Robert Muir 113d6c7c8f LUCENE-6394: Add two-phase support to SpanNotQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673016 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 15:07:24 +00:00
Michael McCandless 607c87a66b LUCENE-5879: fix finite case of Automata.makeBinaryIterval, improve tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673009 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 13:29:01 +00:00
Noble Paul 9ba13dea31 SOLR-7380: SearchHandler should not try to load runtime components in inform()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673007 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 13:24:23 +00:00
Shalin Shekhar Mangar b3660ae4ed SOLR-7362: Added @BadApple annotation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672991 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 08:41:31 +00:00
Michael McCandless ad5ede168f LUCENE-5989: fix CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672843 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 07:47:11 +00:00
Shalin Shekhar Mangar 1e21a487d1 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672828 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 05:14:40 +00:00
Shalin Shekhar Mangar a382e6f61f SOLR-7372: Limit memory consumed by LRUCache with a new 'maxRamMB' config parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672811 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 04:23:31 +00:00
Michael McCandless 249d0d25fe LUCENE-5989: allow passing BytesRef to StringField to make it easier to index arbitrary binary tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672781 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 22:24:46 +00:00
David Wayne Smiley 09ddb7d912 LUCENE-6399: Benchmark's QueryMaker.resetInputs should call setConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672742 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 20:04:22 +00:00
David Wayne Smiley 489f56def8 LUCENE-5579: CompositeSpatialStrategy (RPT + SDV) with optimized Intersect
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672736 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 19:51:58 +00:00
David Wayne Smiley 94ad565747 LUCENE-5579: ConstantScoreWeight is now public
but marked @lucene.internal

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672730 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 19:04:37 +00:00
David Wayne Smiley 6a8bd4c2c3 LUCENE-5579: BitDocIdSet.Builder.isDefinitelyEmpty()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672727 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 18:57:23 +00:00
Michael McCandless 6f1b9bb79a LUCENE-6315: simplify the private iterator Lucene uses when resolving deleted terms -> docids
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672710 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 17:33:33 +00:00
Jan Høydahl de61fa6f3c SOLR-7369: AngularJS UI insufficient URLDecoding in cloud/tree view
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672637 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 12:59:03 +00:00
Varun Thacker 3464197249 SOLR-6637: can't assume a local filesystem when dealing with paths
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672620 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 11:52:43 +00:00
Ryan McKinley a2d29b8e12 Merged revision(s) 1672531 from lucene/dev/branches/branch_5x:
SOLR-7373: let AbstractSpatialFieldType set the context
........



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:38:22 +00:00
Ryan McKinley 6bed01b2ae Merged revision(s) 1672518 from lucene/dev/branches/branch_5x:
SOLR-7164: update lucene field also
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672532 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:37:50 +00:00
Steven Rowe 5934ea0901 maven config: upgrade maven-bundle-plugin from 2.3.7 & 2.4.0 to 2.5.3, to allow the bundle-manifest goal either to succeed or to obey the skip configuration - this was causing java.lang.ArrayIndexOutOfBoundsException: 18
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672474 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 20:24:04 +00:00
Steven Rowe 0f88bb7f9c LUCENE-6339: Maven config: add resource dir src/resources/ to the POM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 19:07:42 +00:00
Yonik Seeley 858718d17a SOLR-7371: don't cache size for now and tolerate small alignment errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672421 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 16:52:16 +00:00
Shalin Shekhar Mangar c400bde439 SOLR-7371: Fix NPE when scores are null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672402 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:49:12 +00:00
Shalin Shekhar Mangar 32c78bc382 SOLR-7371: Make DocSet implement Accountable to estimate memory usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672391 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:10:17 +00:00
Michael McCandless 10c6e948a4 fix test bug: temporarily allow massive boolean queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672380 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:58:00 +00:00
Mark Robert Miller 64ed335455 SOLR-7370: FSHDFSUtils#recoverFileLease tries to recover the lease every one second after the first four second wait.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672379 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:56:26 +00:00
Yonik Seeley d46bed3c32 SOLR-7238: remove buggy SolrQueryRequest.forward
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672369 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:43:02 +00:00