Commit Graph

4863 Commits

Author SHA1 Message Date
Mikhail Khludnev 15bfeb6b0c SOLR-8643: made BlockJoinFacetComponent just a shortcut for BlockJoinDocSetFacetComponent, which supports pure disjunctions 2016-08-19 15:27:59 +03:00
Noble Paul 292644f9a5 SOLR-9421: Refactored out OverseerCollectionMessageHandler to smaller classes 2016-08-19 11:12:29 +05:30
Steve Rowe 43aed486a9 drop empty javadoc line 2016-08-18 10:04:09 -04:00
Noble Paul 20a6818f1b Merge remote-tracking branch 'origin/branch_6x' into branch_6x
Conflicts:
	solr/core/src/java/org/apache/solr/update/TransactionLog.java
2016-08-18 16:31:41 +05:30
Noble Paul 8b3822658d SOLR-8995: reverting the previous change due to compile error 2016-08-18 16:31:24 +05:30
Noble Paul 29494f3cce SOLR-8995: Use lambda in PeerSync ObjectResolver 2016-08-18 10:42:12 +05:30
David Smiley dd927dba2a SOLR-9404: Refactor move/renames in JSON FacetProcessor and FacetFieldProcessor.
(cherry picked from commit 7072458)
2016-08-15 23:36:28 -04:00
Christine Poerschke 545734e035 SOLR-9410: Make ReRankQParserPlugin's private ReRankWeight a public class of its own. 2016-08-15 11:33:36 +01:00
Varun Thacker 45f9b6b1ff SOLR-9092: In the deletereplica commandand add a live check before calling delete core 2016-08-13 18:01:44 +05:30
Varun Thacker 5fc35a65c3 SOLR-9320: Improve logging 2016-08-13 16:38:26 +05:30
Christine Poerschke 0252790962 SOLR-9331: Remove ReRankQuery's length constructor argument and member. 2016-08-11 09:51:35 +01:00
Noble Paul 8412af5513 SOLR-8995: Use lambdas for CacheRegenerator implementations 2016-08-11 12:48:21 +05:30
Noble Paul 519be6acf0 SOLR-9320: A REPLACENODE command to decommission an existing node with another new node and SOLR-9318 the DELETENODE command that deletes all replicas in a node 2016-08-11 12:24:06 +05:30
Noble Paul 74b470a7a9 SOLR-9397: Config API does not support adding caches 2016-08-10 20:23:22 +05:30
Chris Hostetter 8ad1a830fb SOLR-9367: Improved TestInjection's randomization logic to use LuceneTestCase.random()
(cherry picked from commit 84a8c098fc)
2016-08-09 14:48:37 -07:00
Christine Poerschke ae80f3ed03 SOLR-9385: remove unused import in SpellCheckComponent.java 2016-08-09 18:45:19 +01:00
Christine Poerschke fc9a010e58 SOLR-9385: Add QParser.getParser(String,SolrQueryRequest) variant. 2016-08-09 15:07:26 +01:00
Chris Hostetter e08d656a15 SOLR-9377: Fix jdocs and test to match expected behavior, workaround SOLR-9396
(cherry picked from commit 1164c17e0e)
2016-08-08 19:48:57 -07:00
David Smiley 91d7b53d9c SOLR-9350: JSON Facet and method=stream: cacheDf threshold now gates use of the filter cache
(cherry picked from commit b63bb51)
2016-08-08 10:38:05 -04:00
Christine Poerschke 812dc1d0b5 SOLR-9353: Factor out ReRankQParserPlugin.ReRankQueryRescorer private class. 2016-08-08 10:21:36 +01:00
Shalin Shekhar Mangar cc3f3e8a8b SOLR-6465: CDCR: fall back to whole-index replication when tlogs are insufficient
(cherry picked from commit 153c270045)
2016-08-08 11:22:50 +05:30
Varun Thacker 9c37aaabe4 SOLR-9242: fix windows path issue + load live cluster properties. This closes #62 2016-08-08 09:18:14 +05:30
Shalin Shekhar Mangar a2993363b5 SOLR-9392: Fixed CDCR Test failures which were due to leaked resources
(cherry picked from commit bfee229)
2016-08-08 07:47:08 +05:30
Chris Hostetter f5ae939bbd SOLR-9314: beef up TestRandomFlRTGCloud
(cherry picked from commit d07f2dd87d)
2016-08-04 09:48:29 -07:00
Noble Paul 74653e9dbf Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-08-04 12:23:24 +05:30
Noble Paul 750bb367d2 SOLR-9179: NPE in IndexSchema using IBM JDK 2016-08-04 12:22:16 +05:30
jbernste 728b4fbcdc SOLR-9252: Pre-commit fixes 2016-08-03 13:37:26 -04:00
jbernste e38d6d535c SOLR-9252: Feature selection and logistic regression on text
Conflicts:
	solr/core/src/java/org/apache/solr/handler/StreamHandler.java
2016-08-03 13:36:59 -04:00
Chris Hostetter 72750167a2 SOLR-9308: Fix distributed RTG to forward request params, fixes fq and non-default fl params
(cherry picked from commit b3505298a5)

Conflicts:
	solr/core/src/java/org/apache/solr/handler/component/RealTimeGetComponent.java
2016-08-02 12:32:09 -07:00
Gregory Chanan 6cfec0bd7a SOLR-9200: Add Delegation Token Support to Solr 2016-08-02 12:50:49 -04:00
Chris Hostetter c17605b4a9 SOLR-9363: tweak test to work around SOLR-9366 + SOLR-9367 since those issues are not key to what's being tested here
(cherry picked from commit 04321c401c)
2016-08-02 08:50:34 -07:00
David Smiley c434eff828 SOLR-9279: new function queries: gt, gte, lt, lte, eq
Lucene Queries module: new ComparisonBoolFunction base class
(cherry picked from commit d12b93e)
2016-07-28 22:49:18 -04:00
David Smiley 0f26f11f6c SOLR-9269: Snapshots (Solr core level)
(cherry picked from commit b7aa0b5)
2016-07-28 15:01:56 -04:00
Alan Woodward 90e9c76851 SOLR-9346: Always close ZkStateReader 2016-07-27 18:03:48 +01:00
Uwe Schindler 22d24969f5 LUCENE-7395, SOLR-9315: Fix PerFieldSimilarityWrapper to also delegate query norm and coordination factor using a default similarity added as ctor param 2016-07-27 10:06:52 +02:00
Varun Thacker 1244928262 SOLR-9242: Disabling TestLocalFSCloudBackupRestore on Windows till we fix it 2016-07-27 00:14:22 +05:30
Varun Thacker 7b6a16c30b SOLR-9335: Switch Solr cache/search/update stats counters to use LongAdder 2016-07-26 18:28:11 +05:30
Noble Paul 7d388c02b1 SOLR-9310: reverting the variable name change becaause it can break back-compat 2016-07-25 12:30:10 +05:30
Noble Paul 3740156adf SOLR-9310: The variable name is confusing. maxInHash is not a hash 2016-07-25 12:10:49 +05:30
Christine Poerschke 7a4f800388 SOLR-9323: remove unused import (SQLHandler) 2016-07-22 17:18:58 +01:00
Noble Paul d9bbd70ff1 SOLR-9323: Expose ClusterSate.getCollectionStates which returns unverified list of collection names 2016-07-22 13:57:47 +05:30
Noble Paul c627ddc16c SOLR-8995: Use lambdas in CoreAdminHandler 2016-07-21 20:27:11 +05:30
Noble Paul 0ec1c25097 SOLR-8995: Use lambda to simplify CollectionsHandler 2016-07-21 13:20:24 +05:30
Christine Poerschke a4970c8685 SOLR-9275: fix NPE in SolrCoreParser.init 2016-07-20 11:32:47 +01:00
Christine Poerschke 80a2e73ccd SOLR-9275: make XML QueryParser support (defType=xmlparser) extensible via configuration 2016-07-20 11:32:33 +01:00
Chris Hostetter acbe59c70c SOLR-9309: Fix SolrCloud RTG response structure when multi ids requested but only 1 found
(cherry picked from commit 9aa639d45e)
2016-07-19 11:12:01 -07:00
Chris Hostetter 9feeee4e27 SOLR-9288: Fix [docid] transformer to return -1 when used in RTG with uncommitted doc
(cherry picked from commit 08019f4288)
2016-07-19 10:51:25 -07:00
Noble Paul 89a1fe661e SOLR-7280: refactored to incorporate Mike's suggestions. Default thread count for cloud is limited to 8 now. In our internal teting 8 has given us the best stability during restarts 2016-07-19 20:16:29 +05:30
Noble Paul fcd2cc57d5 SOLR-7280: refactored to incorporate Mike's suggestions. Default thread count for cloud is limited to 8 now. In our internal teting 8 has given us the best stability during restarts 2016-07-19 18:43:06 +05:30
Chris Hostetter 9bde118c2f SOLR-9285: Fixed AIOOBE when using ValueSourceAugmenter in single node RTG
(cherry picked from commit 4123b3bf26)
2016-07-18 10:21:46 -07:00
Noble Paul 5932f52588 SOLR-7280: In cloud-mode sort the cores smartly before loading & limit threads to improve cluster stability 2016-07-16 22:50:40 +05:30
Noble Paul 6902eddd8d SOLR-7280: In cloud-mode sort the cores smartly before loading & limit threads to improve cluster stability 2016-07-16 22:42:22 +05:30
Jan Høydahl 81c23f1c5b SOLR-9237: Make FvhContainer public
(cherry picked from commit 4f45226)
2016-07-16 11:58:40 +02:00
Shalin Shekhar Mangar bb7742ebc7 SOLR-9290: TCP-connections in CLOSE_WAIT spike during heavy indexing and do not decrease 2016-07-15 12:23:49 +05:30
Christine Poerschke 625979113f LUCENE-7372: Factor out an org.apache.lucene.search.FilterWeight class. 2016-07-13 19:44:12 +01:00
Steve Rowe e0213933dd LUCENE-7013: ClassificationUpdateProcessorFactory.java: fix bad merge (merged master import into branch_6x) 2016-07-13 14:42:08 -04:00
Steve Rowe 629346febb LUCENE-7013: add licence header position checker to -validate-source-patterns, and fix the violations it found 2016-07-13 13:20:34 -04:00
Varun Thacker 1dfc637f2c SOLR-9242: Move license headers to the top + force refresh cluster propery before reading the 'location' param 2016-07-13 15:00:28 +05:30
Adrien Grand 7c2e7a0fb8 LUCENE-7355: Add Analyzer#normalize() and use it in query parsers. 2016-07-12 18:01:44 +02:00
Chris Hostetter b3cc4b3111 SOLR-9287: Including 'score' in the 'fl' param when doing an RTG no longer causes an NPE
(cherry picked from commit 462dc04cb6)
2016-07-11 14:35:31 -07:00
Mike McCandless 621a98faa2 LUCENE-7373: deprecate Directory.renameFile, which both renamed and fsync'd the directory, replacing it with separate rename and syncMetaData methods 2016-07-11 11:15:22 -04:00
Noble Paul 8db04e3457 SOLR-8995: Use Lamdas for Thread/Runnable 2016-07-11 19:30:49 +05:30
Shalin Shekhar Mangar 9d8cc80a79 SOLR-9291: ZkSolrResourceLoader should not retry fetching resources if the server has been shutdown
(cherry picked from commit 42e1caf)
2016-07-11 07:36:30 +05:30
David Smiley da25555baf SOLR-9270: spatialContextFactory now accepts "JTS" alias. Spatial config attributes with old package names are now rewritten with a warning.
(cherry picked from commit 360b9a3)
2016-07-09 10:56:59 -04:00
Alan Woodward 60232cd028 SOLR-9181: Add some logging to ZkStateReader to try and debug test failures 2016-07-08 14:29:34 +01:00
markrmiller b0386f0d64 SOLR-9236: Don't use System.currentTimeMillis. 2016-07-07 20:32:09 -04:00
markrmiller e91863b8e1 SOLR-9236: Fix import. 2016-07-07 12:47:50 -04:00
markrmiller dc763e383d SOLR-9236: AutoAddReplicas will append an extra /tlog to the update log location on replica failover. 2016-07-07 09:39:05 -04:00
Shalin Shekhar Mangar 4921dcd80c SOLR-8858: SolrIndexSearcher#doc() completely ignores field filters unless lazy field loading is enabled.
This closes #47.
(cherry picked from commit 24d6b78)
2016-07-07 13:23:39 +05:30
Erick 90b572bce6 Merge remote-tracking branch 'origin/branch_6x' into branch_6x
# Conflicts:
#	solr/CHANGES.txt
2016-07-06 21:03:05 -07:00
Erick 602a72ddad SOLR-9277: Clean up some more remnants of supporting old and new style solr.xml in tests
(cherry picked from commit 7743718)
2016-07-06 21:02:20 -07:00
Chris Hostetter f69e624645 Merge remote-tracking branch 'refs/remotes/origin/branch_6x' into branch_6x (SOLR-9180) 2016-07-06 14:15:21 -07:00
Shalin Shekhar Mangar a942de68fc SOLR-9207: PeerSync recovery failes if number of updates requested is high. A new useRangeVersions config option is introduced (defaults to true) to send version ranges instead of individual versions for peer sync.
(cherry picked from commit 380c5a6)
2016-07-07 02:35:20 +05:30
jbernste bc0eac8b6b SOLR-9193: Fix conflict between parameters of TermsComponent and json facet API 2016-07-06 16:58:40 -04:00
jbernste ed86e014f6 SOLR-9193: fixing failing tests due to changes in TermsComponent 2016-07-06 16:58:40 -04:00
jbernste 879a245e4e SOLR-9193: Add scoreNodes Streaming Expression
Conflicts:
	solr/core/src/java/org/apache/solr/handler/StreamHandler.java
2016-07-06 16:58:40 -04:00
jbernste 1427f4b2e7 SOLR-9243:Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms 2016-07-06 16:58:40 -04:00
Chris Hostetter fee9526208 SOLR-9180: More comprehensive tests of psuedo-fields for RTG and SolrCloud requests
This commit also includes new @AwaitsFix'ed tests for the following known issues...

 * SOLR-9285 ArrayIndexOutOfBoundsException when ValueSourceAugmenter used with RTG on uncommitted doc
 * SOLR-9286 SolrCloud RTG: psuedo-fields (like ValueSourceAugmenter, [shard], etc...) silently fails (even for committed doc)
 * SOLR-9287 single node RTG: NPE if score is requested
 * SOLR-9288 RTG: fl=[docid] silently missing for uncommitted docs
 * SOLR-9289 SolrCloud RTG: fl=[docid] silently ignored for all docs

(cherry picked from commit ae316f1e39)
2016-07-06 13:46:15 -07:00
Varun Thacker ee21bb3b3f SOLR-9088: Fixed TestManagedSchemaAPI failures which exposed race conditions in the schema API 2016-07-06 14:09:56 +05:30
Varun Thacker 413ea47670 SOLR-9242: Collection backup/restore to provide a param for specifying underlying storage repository to use 2016-07-06 13:21:31 +05:30
Chris Hostetter 5abdcb8fa5 SOLR-9235: Fixed NPE when using non-numeric range query in deleteByQuery
(cherry picked from commit 54b3945572)
2016-07-05 14:23:21 -07:00
Shalin Shekhar Mangar 119ea15ad6 SOLR-8048: Stop using deprecated CollectionAdminRequest.Reload constructor
(cherry picked from commit 8653be9)
2016-07-05 12:54:49 +05:30
Shalin Shekhar Mangar 31316f7682 SOLR-8048: Close the http client in a finally clause at the end of the test
(cherry picked from commit 2d6b7ea)
2016-07-05 12:54:49 +05:30
Erick 50a9153462 SOLR-9276: Remove remnants of old-style core definitions from OpenCloseCoreStressTest
(cherry picked from commit 32e0f5f)
2016-07-04 17:14:51 -07:00
Erick Erickson 71842a6277 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper. Windows text fix 3
(cherry picked from commit 9dd9a6f)
2016-07-04 10:27:21 -07:00
Erick Erickson c0036aaeee SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper. More Windows fixes
(cherry picked from commit 65c3485)
2016-07-03 17:32:10 -07:00
Erick Erickson dd761584c7 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper - Fix Windows failures 2016-07-02 19:15:21 -07:00
Erick ee0dbf55f7 SOLR-9194: fixed merge foo 2016-07-02 11:43:37 -07:00
Erick fa3e79ba3c SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper
(cherry picked from commit a851d5f)
2016-07-02 11:35:46 -07:00
Alan Woodward 057c317a9d SOLR-9181: Fix some races in ZkStateReader collection watch updates 2016-07-01 15:48:29 +01:00
Noble Paul 5937247ac3 SOLR-9251: Support for a new tag 'role' in replica placement rules 2016-07-01 17:38:40 +05:30
Shalin Shekhar Mangar ed38a29a9f SOLR-8787: Fix broken build due to unused import 2016-07-01 10:31:45 +05:30
Shalin Shekhar Mangar 18434526d6 SOLR-8787: Shutdown MiniSolrCloudCluster in a finally block
(cherry picked from commit 0a15699)
2016-06-30 22:32:47 +05:30
Shalin Shekhar Mangar c7d82e7b38 SOLR-8787: TestAuthenticationFramework should not extend TestMiniSolrCloudCluster
(cherry picked from commit 6528dac)
2016-06-30 22:27:37 +05:30
Shalin Shekhar Mangar 1ce09b482e SOLR-9264: Remove unused imports
(cherry picked from commit 74c8606)
2016-06-30 18:20:39 +05:30
Shalin Shekhar Mangar 8cb37842ec SOLR-9264: Optimize ZkController.publishAndWaitForDownStates to not read all collection states and watch relevant collections instead
(cherry picked from commit 015e0fc)
2016-06-30 15:23:58 +05:30
Noble Paul ce3ea76781 SOLR-9216: Support collection.configName in MODIFYCOLLECTION request 2016-06-30 13:13:01 +05:30
Shalin Shekhar Mangar 812fd346f7 SOLR-8777: Duplicate Solr process can cripple a running process
(cherry picked from commit 4ea95bf)
2016-06-29 16:59:56 +05:30
Alan Woodward d33ad81d69 LUCENE-7360: Explanation.toHtml() is deprecated 2016-06-29 09:13:15 +01:00
Tomas Fernandez Lobbe eaabb9dc77 SOLR-8657: Fix SolrRequestInfo error logs if QuerySenderListener is being used 2016-06-28 15:11:41 -07:00