Commit Graph

22392 Commits

Author SHA1 Message Date
Steven Rowe 648d28dbe9 Add 5.1.0 back compat test indices
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673899 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 17:55:19 +00:00
Shai Erera dee02e6151 SOLR-7401: fix copy/paste bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673888 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 17:33:48 +00:00
Shai Erera 86b191c550 SOLR-7401: fixed NPE when concurrently creating and deleting collections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673813 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 15:05:06 +00:00
Adrien Grand 7a4bd83558 LUCENE-6426: Fix FieldType's copy constructor to also copy over the numeric precision step.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673790 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 14:42:13 +00:00
Robert Muir 3897e3069e LUCENE-6424: fix names in CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673783 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 14:31:25 +00:00
Adrien Grand 3bf3b08d6f Fix eol-style.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673744 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 12:50:30 +00:00
Tommaso Teofili 06a1248a4d SOLR-7376 - adjusted RawValueTransformerFactoryimpl to use StorableField#stringValue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673731 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 11:29:02 +00:00
Robert Muir d71933415d LUCENE-6424: DirectoryStream doesn't wrap with FilterPath
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673720 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 10:36:34 +00:00
Adrien Grand 63073a01c2 LUCENE-6419: Added two-phase iteration assertions to AssertingQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673667 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 07:37:23 +00:00
Tommaso Teofili 4187f7c507 SOLR-7376 - commented code using old IndexableField API, just using Object#toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673665 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 07:14:49 +00:00
Ryan McKinley 6e96326e20 Merged revision(s) 1673654 from lucene/dev/branches/branch_5x:
SOLR-7376: adding missing files
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673655 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 06:15:20 +00:00
Ryan McKinley 63edfb11c6 Merged revision(s) 1673647 from lucene/dev/branches/branch_5x:
SOLR-7376: Return raw XML or JSON
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673649 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 04:57:39 +00:00
Robert Muir fd70dadf80 ensure a single segment in new test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673596 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 00:55:47 +00:00
Robert Muir a5877d42b0 LUCENE-6421: defer reading of positions in MultiPhraseQuery until they are needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673595 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 00:54:03 +00:00
Robert Muir 0aa98d464c LUCENE-6421: revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673577 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 23:02:53 +00:00
Robert Muir d185168be9 LUCENE-6421: defer reading of positions in MultiPhraseQuery until they are needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673572 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 22:26:21 +00:00
Michael McCandless 82b3106f6c LUCENE-6382: enforce max allowed indexed position
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673508 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 18:54:10 +00:00
Shalin Shekhar Mangar 382f9e45e0 SOLR-7381: MDC keys are now exposed in thread names automatically so that a thread dump can give hints on what the thread was doing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673469 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 17:03:38 +00:00
Varun Thacker 71fca8a60d SOLR-6637: improve CHANGES entry + fix wrong usage of path in snapshooter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673420 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 13:15:49 +00:00
Shalin Shekhar Mangar 293efe55c1 SOLR-7381: Set node name in MDC inside ZkController as soon as we discover it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673411 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 11:45:20 +00:00
Shalin Shekhar Mangar a64266193a SOLR-7381: Usages of Executors#newFixedThreadPool, #newSingleThreadExecutor, #newCachedThreadPool as well as ThreadPoolExecutor directly is now forbidden in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673372 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 06:50:52 +00:00
Noble Paul bdefedfa42 Do not throw cached Exception, create new
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673364 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:34:29 +00:00
Noble Paul e666070542 Reduce logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673362 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:26:11 +00:00
Shalin Shekhar Mangar 53c80b10cf SOLR-7385: The clusterstatus API now returns the config set used to create a collection inside a 'configName' key
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673360 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:25:12 +00:00
Shalin Shekhar Mangar 0e54a26d18 SOLR-7372: Enable maxRamMB to be configured via the Config APIs on filterCache and queryResultCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673358 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:12:52 +00:00
David Wayne Smiley 99e12a9ea3 SOLR-6692: highlighter refactorings...
* extract method getDocPrefetchFieldNames
 * trim field names in getHighlightFields instead of later on
 * lazy-create FVH (could be expensive for wildcard queries)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673328 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 01:04:00 +00:00
David Wayne Smiley f295b3a890 SOLR-6692: Highlighter NPE bugfix when highlight nonexistent field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673281 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 21:11:40 +00:00
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
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