Commit Graph

1217 Commits

Author SHA1 Message Date
Gregory Chanan 6cfec0bd7a SOLR-9200: Add Delegation Token Support to Solr 2016-08-02 12:50:49 -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 8247f9f0cd SOLR-9106: Add javadocs to ZkStateReader cluster properties methods 2016-07-28 10:56:07 +01:00
Varun Thacker 91ed36ddb4 SOLR-9340: Change ZooKeeper disconnect and session expiry related logging from INFO to WARN to make debugging easier 2016-07-27 00:06:11 +05:30
Noble Paul 3a1fe0a8ee SOLR-9339: NPE in CloudSolrClient when the response is null 2016-07-26 13:09:44 +05:30
Noble Paul 501d73b4b8 Merge remote-tracking branch 'origin/branch_6x' into branch_6x
Conflicts:
	solr/CHANGES.txt
2016-07-25 21:14:17 +05:30
Noble Paul a30084ec82 SOLR-9334: CloudSolrClient.collectionStateCache is unbounded 2016-07-25 21:13:35 +05:30
Nicholas Knize 2aa01ed037 remove unused import (DocCollection) 2016-07-22 11:46:59 -05:00
Noble Paul d9bbd70ff1 SOLR-9323: Expose ClusterSate.getCollectionStates which returns unverified list of collection names 2016-07-22 13:57:47 +05:30
jbernste 46c1601b05 SOLR-9240: Added testcase with text field in the fl for topic 2016-07-16 23:25:08 -04:00
jbernste c6df1868a0 SOLR-9240:Support running the topic() Streaming Expression in parallel mode. 2016-07-16 23:25: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
Christine Poerschke 85c8f22ca9 SOLR-9090: Add directUpdatesToLeadersOnly flag to solrj CloudSolrClient. (Marvin Justice, Christine Poerschke) 2016-07-13 14:19:26 +01: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
Alan Woodward fda3d8b7c2 SOLR-9181: Fix race in constructState() and missing call in forceUpdateCollection() 2016-07-08 14:29:49 +01:00
Alan Woodward 86d8d3a937 SOLR-9181: More logging 2016-07-08 14:29:42 +01: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
jbernste a86f25ea0c SOLR-9193: Fix-up javdoc 2016-07-06 19:20:44 -04:00
jbernste e27849052e SOLR-9193: Added terms.limit and distrib=true params to /terms request 2016-07-06 16:58:40 -04:00
jbernste 7a5e6a5f7e SOLR-9193: Added test using the termFreq param and basic error handling 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
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
Erick Erickson 98ad225cf4 SOLR-8848:When a SolrJ alias watch is triggered, the new alias state should be logged
(cherry picked from commit da1f6e9)
2016-07-05 18:13:27 -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 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 ce3ea76781 SOLR-9216: Support collection.configName in MODIFYCOLLECTION request 2016-06-30 13:13:01 +05:30
Dennis Gove d1a9daec87 SOLR-9246: If the JDBCStream sees an unknown column type it will now throw a detailed exception 2016-06-29 14:44:25 -04:00
Shalin Shekhar Mangar c8f9973a10 Trivial name spelling fix for SOLR-445. Cherry-picked 8c47d20 2016-06-28 16:38:51 +05:30
Noble Paul 73d5f1c52c SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs endpoint 2016-06-21 18:51:45 +05:30
Noble Paul 3a9019e020 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-06-21 13:38:30 +05:30
Noble Paul 153ca1f6c2 SOLR-9233: avoid new string creation in CollectionAction 2016-06-21 13:38:04 +05:30
Adrien Grand 5afdc1d72d SOLR-8995: Remove unused imports. 2016-06-20 09:58:50 +02:00
Noble Paul ab44ac17ae SOLR-8995: replace SAM implementations with lambda 2016-06-20 11:17:12 +05:30
Adrien Grand 6d1bb14077 LUCENE-7319: Remove more unused imports so that precommit passes. 2016-06-13 15:45:54 +02:00
Christine Poerschke 21bc7ef104 LUCENE-7319: remove unused imports 2016-06-13 12:35:49 +01:00
Erick Erickson bc86c1015c SOLR-9187: Support dates and booleans in /export handler, support boolean DocValues fields 2016-06-11 17:53:59 -07:00
Noble Paul 7f6be6e893 SOLR-7123: Syntax modified. Multiple paths can be added in the split parameter itself (pipe separated) 2016-06-07 22:19:09 +05:30
Chris Hostetter 4e3884bec7 Revert "SOLR-9140: Replace some zk state polling with CollectionStateWatchers"
Alan's comments (via Uwe) in SOLR-9140 jira comments suggest that he thought he had already
reverted this on both branches, but that is not the case.  Reverting on his behalf due to the
likelyhood that this is causing SOLR-9189.

Alan's comments regarding the master equivilent revert...

"There's still some places where notifications can be missed, so I'm reverting
this until those are fixed."

This reverts commit 9f299bb6ad.
2016-06-06 14:13:59 -07:00
Alan Woodward 3595b9ab2e Revert "SOLR-9181: Fix test bug in ZkStateReaderTest"
This reverts commit 0cfe43164a.
2016-06-04 11:06:31 +01:00
Alan Woodward 9f299bb6ad SOLR-9140: Replace some zk state polling with CollectionStateWatchers 2016-06-03 15:52:41 +01:00
Alan Woodward 0cfe43164a SOLR-9181: Fix test bug in ZkStateReaderTest 2016-06-03 15:13:17 +01:00
Noble Paul 734dcb99fc SOLR-8744: Overseer operations performed with fine grained mutual exclusion 2016-06-02 14:49:06 +05:30
Noble Paul 91f8edca8f SOLR-7123: '/update/json/docs' path supports nested documents 2016-06-01 18:35:34 +05:30
Noble Paul 6662cdc07f Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-05-31 23:15:07 +05:30
Noble Paul d100dcdc56 fixing typos in javadocs 2016-05-31 23:14:37 +05:30
Jan Høydahl fa84052682 SOLR-8583: Apply highlighting to hl.alternateField by default.
(cherry picked from commit e37e49e)
2016-05-29 09:46:15 +02:00
jdyer1 1609428786 SOLR-9141: Fix ClassCastException when using the /sql handler count() function with single-shard collections 2016-05-26 13:43:14 -05:00
Dennis Gove ab87a0e756 SOLR-8988: Adds query option facet.distrib.mco which when set to true allows the use of facet.mincount=1 in cloud mode 2016-05-23 15:23:37 -04:00
Noble Paul 978885cf70 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-05-23 12:17:09 +05:30
Noble Paul 48feaed745 more logging for debug errors such as these SOLR-9143 2016-05-23 12:16:43 +05:30
Uwe Schindler ecf2a732fc LUCENE-7296: Update forbiddenapis to version 2.1 2016-05-23 00:18:42 +02:00
Alan Woodward f1e870c016 SOLR-9132: Move some tests to SolrCloudTestBase 2016-05-19 16:59:08 +01:00
Alan Woodward 8db3c73375 SOLR-9113: Fix re-registration race 2016-05-19 14:53:43 +01:00
jbernste cb38b14205 SOLR-9128: Fix error handling issues in Streaming classes 2016-05-18 22:53:02 -04:00
Alan Woodward 8de89081e6 SOLR-9113: Improve state watcher API 2016-05-17 10:45:34 +01:00
Alan Woodward b5c369a773 SOLR-8323: Handle removal of legacy collections 2016-05-14 19:10:03 +01:00
Alan Woodward 06ebd4fd7e SOLR-8323: DocCollection.isFullyActive needs to know how many replicas to expect 2016-05-14 13:01:05 +01:00
Alan Woodward dd23fa4015 SOLR-9106: Cache cluster properties on ZkStateReader 2016-05-14 10:14:45 +01:00
Alan Woodward 06d2f6368d SOLR-8323: Add CollectionStateWatcher API 2016-05-13 21:43:43 +01:00
jbernste 69cb606d78 Fix error message assert 2016-05-11 23:52:09 -04:00
Erick Erickson 03a06bb3aa SOLR-9083: Remove deprecated <types> and <fields> from schemas
(cherry picked from commit 5341918)
2016-05-10 07:06:51 -07:00
Erick Erickson 73b4defc07 SOLR-8467: CloudSolrStream and FacetStream should take a SolrParams object rather than a Map<String, String> to allow more complex Solr queries to be specified 2016-05-09 12:48:49 -07:00
Noble Paul 07b0dc86eb SOLR-9071: simplify hashcode() , equals() and implement toString() 2016-05-09 10:23:09 +05:30
Varun Thacker 8e999d1a96 SOLR-7117: AutoAddReplicas should have a cluster wide property for controlling number of cores hosted on each node 2016-05-09 00:09:36 +05:30
Noble Paul 2bc376c7f5 SOLR-9071: rename the getters in org.apache.solr.common.util.Pair class 2016-05-08 12:30:44 +05:30
Kevin Risden 4d15b9fa08 SOLR-8458: Add Streaming Expressions tests for parameter substitution 2016-05-06 09:38:40 -05:00
Kevin Risden 219ddbb998 SOLR-8184: Negative tests for JDBC Connection String 2016-05-06 08:58:13 -05:00
Christine Poerschke 49b3eee4c8 SOLR-9074: solrj CloudSolrClient.directUpdate tweak
Defer two NamedList allocations and initialCapacity one of them.
2016-05-06 10:36:51 +01:00
Dennis Gove d95a91a9cc SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the incoming streams, eg. fieldA=fieldB 2016-05-05 20:31:58 -04:00
Dennis Gove 06a675ce2c SOLR-8996: Greatly decreases the probability of a RandomStream test failure from 1 in 5! to 1 in 1000! 2016-05-05 19:54:24 -04:00
jbernste 928a3cf268 SOLR-8972: Add GraphHandler and GraphMLResponseWriter to support graph visualizations 2016-05-05 17:06:31 -04:00
Shalin Shekhar Mangar 7ce1c2cb74 SOLR-9014: Fix javadoc
(cherry picked from commit 6ade999)
2016-05-05 16:03:16 +05:30
Shalin Shekhar Mangar 7bfaa51079 SOLR-9014: Deprecate ClusterState.getCollections and introduce a new ClusterState.getCollectionsMap instead
(cherry picked from commit f5497a3)
2016-05-05 16:03:11 +05:30
Shalin Shekhar Mangar ee45e83439 SOLR-9030: Added a code comment as to why we use Integer.MAX_VALUE instead of -1
(cherry picked from commit 827573b1a7)
2016-05-05 16:02:27 +05:30
Shalin Shekhar Mangar 29f6997502 SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter
(cherry picked from commit c2662f2)
2016-05-05 15:57:57 +05:30
Dennis Gove f341002413 SOLR-9064: Adds an explanation of the incoming stream to an UpdateStream's explanation 2016-05-04 17:59:56 -04:00
Alan Woodward 7a8d4947a5 SOLR-9065: Migrate SolrJ tests to SolrCloudTestCase 2016-05-04 20:05:12 +01:00
Kevin Risden eb1da08d54 SOLR-9066: Make CountMetric return long instead of double 2016-05-04 11:08:18 -05:00
Shalin Shekhar Mangar 451feb0f8e SOLR-9014: Deprecate and reduce usage of ClusterState methods which may make calls to ZK via the lazy collection reference
(cherry picked from commit 922265b)
2016-05-04 20:45:02 +05:30
jbernste 0cb7d83193 SOLR-9059: NPE in SolrClientCache following collection reload
Conflicts:
	solr/core/src/test/org/apache/solr/handler/TestSQLHandler.java
2016-05-03 13:28:03 -04:00
Noble Paul 492dcfbdd0 added a couple of extra methods 2016-05-03 20:40:58 +05:30
markrmiller 95c5d92f10 SOLR-8933: Solr should not close container streams. 2016-05-03 10:23:37 -04:00
David Smiley dac044c94a SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE
(cherry picked from commit 70bcd56)
2016-05-02 22:46:06 -04:00
jbernste 86f371cbc6 SOLR-9027: GraphTermsQuery optimizations and more explicit handling of non-caching behavior 2016-05-02 08:43:47 -04:00
jbernste d1f32c0432 SOLR-8925: Integrate the GraphTermsQuery into the gatherNodes expression 2016-05-02 08:42:24 -04:00
Dennis Gove d969de41c1 SOLR-9009: Adds ability to get an Explanation of a Streaming Expression
Conflicts:
	solr/CHANGES.txt
2016-05-02 08:36:46 -04:00
jbernste 60a9e38668 SOLR-8996: Add Random Streaming Expression 2016-05-02 08:29:29 -04:00
jbernste d77574abba SOLR-8925: Add gatherNodes Streaming Expression to support breadth first traversals
Conflicts:
	solr/core/src/java/org/apache/solr/handler/StreamHandler.java
2016-05-02 08:29:08 -04:00
Chris Hostetter 8e8f6c1fa8 SOLR-9028: Fix 2 SSL test related bugs...
1) SolrTestCaseJ4 should always reset the HttpClientConfigurer in afterClass, regardless of wether ssl was used
   (when SSL is not used, the active configurer explicitly excludes SSL)
2) HttpClientUtilTest.testSSLSystemProperties made no sense as written.  setSSLSystemProperties() didn't have any
   effect on what was being tested, even if it was useful it would only have affected what keystore/truststore were
   used, not wether HTTPS was supported or not.
2016-04-30 22:22:09 -07:00
Noble Paul 6c459779c5 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 added back another test and fixed test errors 2016-04-28 15:40:06 +05:30
Shai Erera 95322605b8 SOLR-9016: Fix SolrIdentifierValidator to not accept empty identifiers 2016-04-26 20:59:00 -07:00
Noble Paul 8162ba4534 SOLR-9041: 'core-admin-read' and 'core-admin-edit' are well known permissions 2016-04-26 19:26:44 +05:30
Scott Blum 89857653ca SOLR-9029: fix rare ZkStateReader visibility race during collection state format update 2016-04-25 21:21:02 -04:00
Dennis Gove 78176e23bc SOLR-8599: Improved the tests for this issue to avoid changing a variable to non-final 2016-04-21 15:19:33 -07:00
Kevin Risden d914ec4a67 SOLR-9020: Implement StatementImpl/ResultSetImpl get/set fetch* methods and proper errors for traversal methods 2016-04-20 14:50:24 -05:00
Kevin Risden 6276fe5ec7 SOLR-8809: Implement Connection.prepareStatement 2016-04-20 10:03:54 -05:00