Commit Graph

22938 Commits

Author SHA1 Message Date
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
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