Commit Graph

6957 Commits

Author SHA1 Message Date
David Wayne Smiley 736a9b6934 LUCENE-6445: Highlighter TokenSources simplification
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676540 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 14:11:54 +00:00
Mark Robert Miller 3b868b3897 SOLR-7359: Add additional testing for FSHDFSUtils#recoverFileLease.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676531 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 13:36:02 +00:00
Mark Robert Miller 4809642e63 SOLR-7437: Make HDFS transaction log replication factor configurable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676520 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 12:48:44 +00:00
Mark Robert Miller b70ecaa3fd SOLR-7478: UpdateLog#close shuts down it's executor with interrupts before running it's close logic, possibly preventing a clean close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676501 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 11:50:11 +00:00
Yonik Seeley 921b4aeeee SOLR-7480: private doAdd should be protected in AtomicUpdateDocumentMerger
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676399 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 01:53:58 +00:00
Steven Rowe 29b2d2b062 '**' is unsupported bulleted list syntax - switch to '-', add some vertical whitespace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676356 13f79535-47bb-0310-9956-ffa450edef68
2015-04-27 18:25:00 +00:00
Shalin Shekhar Mangar 093d86901b SOLR-4839: Disable SSLv3 (POODLE) by default from our SSL config. Also added credits for Steve Rowe and Steve Davids.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676354 13f79535-47bb-0310-9956-ffa450edef68
2015-04-27 18:09:51 +00:00
Shalin Shekhar Mangar e1714879bc SOLR-4839: Fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676352 13f79535-47bb-0310-9956-ffa450edef68
2015-04-27 18:05:30 +00:00
Chris M. Hostetter 13547a2fdb preemptive cleanup of 'Upgrading' section for 5.2 (SOLR-7325, SOLR-7336, SOLR-4839)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676350 13f79535-47bb-0310-9956-ffa450edef68
2015-04-27 17:56:20 +00:00
Chris M. Hostetter 3c1130402a SOLR-7470: Fix sample data to eliminate file order dependency for successful indexing, also fixed SolrCloudExampleTest to help catch this in the future
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676337 13f79535-47bb-0310-9956-ffa450edef68
2015-04-27 17:09:26 +00:00
Mark Robert Miller b5532c68ab SOLR-7457: Make DirectoryFactory publishing MBeanInfo extensible.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676151 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 22:12:59 +00:00
Shalin Shekhar Mangar 0ad4a28168 SOLR-4839: Re-organized upgrade notes and added notes about removing the ability to run java -jar start.jar directly and removal of SOLR_SSL_PORT property.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676116 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 15:37:25 +00:00
Shalin Shekhar Mangar abd44bf5af SOLR-4839: Add upgrade notes, move entry to 5.2.0. Added entry for SOLR-7449
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676113 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 15:16:10 +00:00
Yonik Seeley 62ee80ad89 SOLR-7473: implement facet range mincount
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676107 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 14:16:49 +00:00
Mark Robert Miller 3862c52b58 SOLR-7425: Improve MDC based logging format.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676103 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 13:22:07 +00:00
Shalin Shekhar Mangar c3185b5489 SOLR-4839: Separate jetty and client specific SSL properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676102 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 12:44:20 +00:00
Yonik Seeley 4ebb2a4b1d SOLR-7446: refactor range faceting to use slots
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676077 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 01:14:47 +00:00
Ramkumar Aiyengar 0c7715812e SOLR-5213: Log when shard splitting unexpectedly leads to documents going to zero or multiple sub-shards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676075 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 00:06:08 +00:00
Mark Robert Miller 40dda65fb2 SOLR-7391: Use a time based expiration cache for one off HDFS FileSystem instances.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676070 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 21:02:37 +00:00
Yonik Seeley 87fa97760e SOLR-7446: refactor range faceting to create range list first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676066 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 20:35:03 +00:00
Mark Robert Miller 3aff74f937 SOLR-7118: Raise fail tolerance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676062 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 20:01:21 +00:00
Tomas Eduardo Fernandez Lobbe 7e4c096642 SOLR-7471: Stop requiring docValues for interval faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675994 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 05:07:06 +00:00
Chris M. Hostetter 9fe95b08a3 SOLR-7469: Fix check-licenses to accurately detect if start.jar.sha1 is incorrect
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675968 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 22:38:12 +00:00
Chris M. Hostetter 3481ecef3b SOLR-7467: Upgrade t-digest to 3.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675949 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 21:12:48 +00:00
Mark Robert Miller ed9e1fc1b5 SOLR-7311: Add some infrastructure and tests to make sure Solr works well in the face of Name Node high availability and failover.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675883 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 15:08:11 +00:00
Yonik Seeley 1a778cd068 docs: move bug to right section of CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675879 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 15:01:39 +00:00
Yonik Seeley 558d85f892 SOLR-7387: fix distrib terms facet sorting buckets by min,max,avg,unique
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675707 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 19:35:09 +00:00
Tomas Eduardo Fernandez Lobbe 68ac99b511 SOLR-7406: Add facet.range.method parameter with options 'filter' and 'dv' for range faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675706 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 19:27:34 +00:00
Shalin Shekhar Mangar 299ddc5abe SOLR-4839: SSL support with Jetty 9. Also fixes SOLR-7449 on trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675619 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 14:17:35 +00:00
Noble Paul 551562bed6 SOLR-7157: initParams must support tags other than appends, defaults and, invariants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675591 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 12:34:35 +00:00
Ramkumar Aiyengar 852e04e3d0 SOLR-7081: TestMiniSolrCloudCluster.testBasics tidies up after itself, adds collection create/delete/create test case.
TestMiniSolrCloudCluster.testBasics now re-creates the server it removed for test purposes,
thus restoring the original NUM_SERVERS count. TestMiniSolrCloudCluster.testBasics now also deletes
the collection it created for test purposes (this revision adds MiniSolrCloudCluster.deleteCollection
and AbstractDistribZkTestBase.waitForCollectionToDisappear methods).

Sometimes TestMiniSolrCloudCluster.testBasics runs its create-collection/search-collection/delete-collection
logic twice, thus creating a create/delete/create-collection test case.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675590 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 12:29:52 +00:00
David Wayne Smiley 9d1c2019a8 LUCENE-6422: New spatial PackedQuadPrefixTree. Thanks Nick!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675538 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 04:08:31 +00:00
Ramkumar Aiyengar e86dec2058 SOLR-7450: Fix grep options used when searching for numbers in bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675511 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 22:42:19 +00:00
Yonik Seeley dd68aaf7e0 tests: test date docvalues w/ json facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 19:19:52 +00:00
Yonik Seeley a02b9a08a1 SOLR-7417: implement unique() for numeric fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675427 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 17:22:27 +00:00
Shalin Shekhar Mangar 9464d2afb7 SOLR-4839: Make our jetty configs resemble stock Jetty 9.3 configs more closely. Thread pool and common config goes to jetty.xml. All property names are prefixed with solr.jetty. SSL keystore paths are now absolute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675337 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 11:35:31 +00:00
Noble Paul 8c5fcd1ff6 SOLR-7176: zkcli script can perfrom the CLUSTERPROP command without a running Solr cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675331 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 11:12:33 +00:00
Shai Erera 5afa59c004 SOLR-7408: Let SolrCore be the only thing which registers/unregisters a config directory listener
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675274 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 08:25:26 +00:00
Shalin Shekhar Mangar ede96a0dd1 SOLR-4839: Upgrade jetty to 9.2.10.v20150310 in trunk. Also, moved the change log entry to 6.0.0 until we backport to 5x.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675261 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 05:57:28 +00:00
Shalin Shekhar Mangar 3c1c7279dc SOLR-7440: DebugComponent does not return the right requestPurpose for pivot facet refinements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675258 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 04:25:13 +00:00
Yonik Seeley f8025175d5 SOLR-7443: Implement range faceting over date fields in facet module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675246 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 02:23:09 +00:00
Anshum Gupta 2482af467d SOLR-7418: Check and raise a SolrException instead of an NPE when an invalid doc id is sent to the MLTQParser in Cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675230 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 00:09:33 +00:00
Adrien Grand c6821e1a19 LUCENE-6446: Simplified Explanation API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675109 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 12:55:41 +00:00
Shalin Shekhar Mangar 2aed77e893 SOLR-6665: Add AwaitsFix annotation to the new test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675067 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 09:04:17 +00:00
Shalin Shekhar Mangar 9eae452cfb SOLR-6665: ZkController.publishAndWaitForDownStates can return before all local cores are marked as 'down' if multiple replicas with the same core name exist in the cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675030 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 05:49:39 +00:00
Mark Robert Miller d33eb8eb44 SOLR-7429: Remove Solr server module sync-hack introduced in SOLR-4050.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674997 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 22:39:13 +00:00
Uwe Schindler f4207755d9 LUCENE-6420: Add missing suppressAnnotation declaration on forbiddenapis ANT task in test-frameworks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674939 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 16:26:26 +00:00
Uwe Schindler 5b4fe002ba LUCENE-6420: Use forbidden-apis annotation @SuppressForbidden; cleanup maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674926 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:22:06 +00:00
Steven Rowe 0bc9c7821d SOLR-7419: document intentional overflow in SolrQueryTimeoutImpl thread local
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674866 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 14:25:52 +00:00
Shalin Shekhar Mangar da1cd63a22 SOLR-7421: RecoveryAfterSoftCommitTest fails frequently on Jenkins due to full index replication taking longer than 30 seconds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674733 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 04:44:02 +00:00
Mark Robert Miller ea83cc6678 SOLR-7426: SolrConfig#getConfigOverlay does not clean up it's resources.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674666 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 18:44:21 +00:00
Shalin Shekhar Mangar e699256bbb SOLR-7381: Uncaught exceptions thrown by tasks in the pool are logged along with submitter's stack trace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674593 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 03:48:22 +00:00
Ramkumar Aiyengar 19e25c78b6 SOLR-7392: Fix SOLR_JAVA_MEM and SOLR_OPTS customizations in solr.in.sh being ignored
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674565 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 19:13:00 +00:00
Yonik Seeley 3b94724907 SOLR-7422: "type" param for JSON Facet API for flatter structure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674519 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 14:27:26 +00:00
Timothy Potter beea9c2733 SOLR-7421: Marking test as a BadApple for now until we can figure out what is causing replication to take so long for a small index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674512 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 14:11:26 +00:00
Shalin Shekhar Mangar e541bccd45 SOLR-7420: Overseer stats are not reset on loss of ZK connection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 08:42:57 +00:00
Shalin Shekhar Mangar 8573f64b9c SOLR-6087: SolrIndexSearcher makes no DelegatingCollector.finish() call when IndexSearcher throws an expected exception. This closes #57.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674443 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 04:43:19 +00:00
Shalin Shekhar Mangar f258d2f9d4 SOLR-6886: Removed redundant size check and added missing calls to DelegatingCollection.finish inside Grouping code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674430 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 03:32:36 +00:00
Tomas Eduardo Fernandez Lobbe 61bdfdd635 SOLR-7412: Fixed range.facet.other parameter for distributed requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674182 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 01:35:30 +00:00
Yonik Seeley 4e73212034 SOLR-7411: fix threadsafety bug in SearchHandler introduced in SOLR-7380
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674163 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 22:47:11 +00:00
Adrien Grand f4c0546567 LUCENE-6425: Replaced Query.extractTerms with Weight.extractTerms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674091 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 15:14:35 +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
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
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
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
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
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
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
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
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