Commit Graph

1601 Commits

Author SHA1 Message Date
markrmiller d6337ac3e5 SOLR-9824: Some bulk update paths could be very slow due to CUSC polling. 2017-02-22 14:44:18 -05:00
markrmiller 2f82409e5b SOLR-9855: DynamicInterceptor in HttpClientUtils use synchronization that can deadlock and puts a global mutex around per request process calls. 2017-02-22 14:44:18 -05:00
Erick 14b3622608 SOLR-10020: CoreAdminHandler silently swallows some errors 2017-02-21 21:59:26 -08:00
markrmiller 9ca3d57b2b SOLR-10166: TestLBHttpSolrClient needs to be hardened. 2017-02-19 20:38:31 -05:00
Chris Hostetter 5fb94cee68 Fix (generic) return type
w/o this change class won't compile using jdk9-ea157
2017-02-19 18:09:35 -07:00
markrmiller f7201f23e7 tests: add class name for tracked objects 2017-02-19 15:23:55 -05:00
Cao Manh Dat 46ef9256b4 SOLR-9966: Convert/migrate tests using EasyMock to Mockito 2017-02-19 07:00:40 +07:00
Joel Bernstein bfeb4e7f84 Merge branch 'jira/solr-8593' 2017-02-15 13:55:09 -05:00
Joel Bernstein ec6ee96ae6 SOLR-8593: Make SQL handler friendlier out of the box 2017-02-13 11:46:08 -05:00
Dennis Gove 1700e860ce SOLR-9916: Adds package-info.java to org.apache.solr.client.solrj.io.eval so it passes precommit 2017-02-12 11:15:47 -05:00
markrmiller 2196663156 SOLR-10120: A SolrCore reload can remove the index from the previous SolrCore during replication index rollover.
SOLR-10124: Replication can skip removing a temporary index directory in some cases when it should not.
SOLR-10119: Harden TestReplicationHandler.
2017-02-11 17:08:42 -05:00
Dennis Gove 62489678d0 SOLR-9916: Adds Stream Evaluators to support evaluating values from tuples 2017-02-10 00:39:51 -05:00
Christine Poerschke 0b817e6e49 SOLR-9912: Add facet.excludeTerms parameter support. (Jonny Marks, David Smiley, Christine Poerschke) 2017-02-09 14:55:06 +00:00
Joel Bernstein de512d7402 SOLR-8593: Push down the HAVING clause 2017-02-08 13:01:31 -05:00
markrmiller e1a5776457 SOLR-9997: Enable configuring SolrHttpClientBuilder via java system property. 2017-02-07 13:15:51 -05:00
David Smiley f5c6c3b796 SOLR-10018: default hl.maxAnalyazedChars to 51200 across all highlighters 2017-02-02 13:51:39 -05:00
Kevin Risden 63eecedbc1 Fix two test issues an NPE and ordering issue 2017-02-01 12:27:59 -05:00
Kevin Risden 7a3dd46bbf Merge branch 'apache-https-master' into jira/solr-8593 2017-02-01 12:00:22 -05:00
Andrzej Bialecki bef725aeef SOLR-10054: Core swapping doesn't work with new metrics changes in place. 2017-02-01 17:50:17 +01:00
Noble Paul 71abe13069 SOLR-8029: Added new style APIs and a framework for creating new APIs and mapping old APIs to new 2017-01-31 16:27:33 +10:30
Kevin Risden 934a92e730 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-27 10:19:38 -05:00
Noble Paul 9899cbd031 SOLR-10026: JavaBinCodec should initialize maps and namedLists with known capacity 2017-01-25 07:08:25 +10:30
Kevin Risden 292e518878 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-16 16:07:54 -05:00
Uwe Schindler 4eafdb337a SOLR-9893: Update Mockito to version 2.6.2 for Java 9 support. Disable all legacy EasyMock tests when running on Java 9 until they were migrated to Mockito 2017-01-14 12:43:24 +01:00
Kevin Risden 483bfa6423 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-13 14:35:53 -05:00
Kevin Risden 737194712f Merge branch 'apache-https-master' into jira/solr-8593 2017-01-12 11:51:04 -05:00
Shalin Shekhar Mangar dee7709dd8 SOLR-9947: Fix CloudSolrClientTest.testNonRetryableRequests failure 2017-01-12 20:49:38 +05:30
Andrzej Bialecki 6c6c077435 SOLR-9947 Clean up metrics and SolrInfoMBean categories. Add a hierarhical view of
SolrInfoMBeans in JMX.
2017-01-12 13:14:12 +01:00
David Smiley 570880d3ac SOLR-9935: Add hl.fragsize support when using the UnifiedHighlighter 2017-01-07 23:32:37 -05:00
Joel Bernstein aae4217abc SOLR-9944: Map the nodes function name to the GatherNodesStream 2017-01-07 22:17:44 -05:00
Kevin Risden 3793eb5ec6 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-06 15:47:02 -06:00
Kevin Risden 5f65487658 Add collection alias support for Calcite 2017-01-06 15:32:41 -06:00
Joel Bernstein b32cd82318 SOLR-8530: Add support for aggregate HAVING comparisons without single quotes 2017-01-05 20:46:55 -05:00
Joel Bernstein b8f4adfd57 SOLR-9919: random Streaming Expression is not registered in /stream or /graph handler 2017-01-04 10:33:29 -05:00
Joel Bernstein ccdbb6ac0e SOLR-8530: Add support for single quoted aggregate HAVING comparisons 2017-01-03 20:27:22 -05:00
Joel Bernstein 390a01b0fe SOLR-8530: Fixed javadoc 2017-01-03 15:06:14 -05:00
Joel Bernstein 5bbd4d6765 SOLR-8530: Add tests from the HavingStream 2017-01-03 15:05:28 -05:00
Joel Bernstein 1da283ef2c SOLR-8530: Add HavingStream to Streaming API and StreamingExpressions 2017-01-03 14:53:03 -05:00
Kevin Risden 82350229c9 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-03 12:47:42 -06:00
Joel Bernstein 0999f6779a SOLR-9684: Rename schedule function to priority 2017-01-02 11:08:44 -05:00
Joel Bernstein 61676188d7 SOLR-9495: AIOBE with confusing message for incomplete sort spec in Streaming Expression 2016-12-30 19:55:31 -05:00
Joel Bernstein f3fe487970 SOLR-9684: Add schedule Streaming Expression 2016-12-30 14:34:16 -05:00
Joel Bernstein 7dcb557ab7 SOLR-9905: Add NullStream to isolate the performance of the ExportWriter 2016-12-29 14:39:16 -05:00
Alan Woodward 12aff1cfcc SOLR-9132: Cut over some more tests 2016-12-29 12:22:40 +00:00
David Smiley 20362deb7e SOLR-9897: Add hl.requireFieldMatch=false support when using the UnifiedHighlighter 2016-12-28 22:57:44 -05:00
Shalin Shekhar Mangar 254473bf33 SOLR-9877: Use instrumented http client and connection pool 2016-12-27 19:12:24 +05:30
Christine Poerschke de0a046b21 SOLR-9758: refactor preferLocalShards implementation 2016-12-21 20:48:25 +00:00
Kevin Risden 918fd97fd0 Merge branch 'apache-https-master' into jira/solr-8593 2016-12-20 10:39:21 -06:00
Andrzej Bialecki 8bbdb6248c Squashed commit of branch 'feature/metrics', containing:
SOLR-4735: Improve Solr metrics reporting
    SOLR-9812: Implement /admin/metrics API
    SOLR-9805: Use metrics-jvm library to instrument jvm internals
    SOLR-9788: Use instrumented jetty classes
2016-12-20 09:31:24 +01:00
Tomas Fernandez Lobbe 84bbb8f797 SOLR-9874: CREATEALIAS should fail if target collections don't exist 2016-12-19 16:54:13 -08:00
Ishan Chattopadhyaya 2c4c5040ee SOLR-9860: Enable configuring invariantParams via HttpSolrClient.Builder 2016-12-19 21:01:20 +05:30
Ishan Chattopadhyaya a1a8b2864e SOLR-9513: Generic Hadoop authentication plugins, GenericHadoopAuthPlugin and ConfigurableInternodeAuthHadoopPlugin 2016-12-19 20:45:04 +05:30
yonik c9522a3936 SOLR-9712: block when maxWarmingSearchers is exceeded instead of throwing exception, default to 1, remove from most configs 2016-12-16 11:46:48 -05:00
Joel Bernstein 1c2eabd4e9 SEARCH-8593: Add tests from the HavingStream 2016-12-16 11:27:56 -05:00
Kevin Risden 6c0cafedac Merge branch 'apache-https-master' into jira/solr-8593 2016-12-15 15:34:57 -06:00
Joel Bernstein 37fdc37fc3 SOLR-8593: Refactoring and adding aggregationMode=facet methods 2016-12-15 16:12:08 -05:00
markrmiller 1055209940 SOLR-9834: A variety of spots in the code can create a collection zk node after the collection has been removed. 2016-12-08 12:03:55 -05:00
Christine Poerschke cacabc9a4e fix java warning in SolrQueryTest 2016-12-07 21:16:42 +00:00
Tomas Fernandez Lobbe c164f7e35e SOLR-9827: Make ConcurrentUpdateSolrClient create RemoteSolrExceptions in case of remote errors instead of SolrException 2016-12-06 10:34:22 -08:00
Noble Paul 9eaea79f5c Merge remote-tracking branch 'origin/master' 2016-11-30 18:48:18 +05:30
Noble Paul 44cce6bc4c typo in javadocs 2016-11-30 18:47:52 +05:30
Andrzej Bialecki 590d31f311 SOLR-9768 RecordingJsonParser produces incomplete json (Wojciech Stryszyk via ab) 2016-11-29 21:12:49 +01:00
Noble Paul 5b2594350d SOLR-9784: added deprecation javadocs 2016-11-29 08:05:47 +05:30
Kevin Risden 05a6170d12 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-28 11:26:16 -06:00
Noble Paul 2ec9716520 SOLR-9784: deprecated uploadconfig 2016-11-26 12:53:32 +05:30
Noble Paul dce5964d8a SOLR-9784: removed unused method 2016-11-26 12:24:45 +05:30
Noble Paul 950ff50032 Merge remote-tracking branch 'origin/master' 2016-11-25 08:18:09 +05:30
Noble Paul 142461b395 SOLR-9512: removed unused import 2016-11-25 08:17:51 +05:30
David Smiley 4314c51c66 SOLR-9708: Added UnifiedSolrHighlighter. Added hl.method=original|fastVector|postings|unified 2016-11-24 19:36:07 -05:00
Noble Paul 5650939a8d SOLR-9784: Refactor CloudSolrClient to eliminate direct dependency on ZK
SOLR-9512: CloudSolrClient's cluster state cache can break direct updates to leaders
2016-11-25 00:51:38 +05:30
Noble Paul d87ffa4bf8 SOLR-9784: Refactor CloudSolrClient to eliminate direct dependency on ZK
SOLR-9512: CloudSolrClient's cluster state cache can break direct updates to leaders
2016-11-25 00:51:09 +05:30
Noble Paul 41d7b24574 SOLR-9721: javabin Tuple parser for streaming and other end points 2016-11-24 09:00:21 +05:30
Kevin Risden 750cf6d7a5 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-18 10:42:14 -06:00
Noble Paul 0ec660a113 Wrong casting of CharSequence to String 2016-11-18 20:29:09 +05:30
Kevin Risden 012d75d36d SOLR-9597: Add setReadOnly(String ...) to ConnectionImpl 2016-11-15 21:34:39 -06:00
Kevin Risden bda84d8442 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-15 21:14:16 -06:00
Kevin Risden c20d1298d3 SOLR-9729: JDBCStream improvements 2016-11-15 21:06:25 -06:00
Kevin Risden ace423e958 SOLR-9077: Streaming expressions should support collection alias 2016-11-15 20:33:58 -06:00
Kevin Risden 782923b894 SOLR-9666: SolrJ LukeResponse support dynamic fields 2016-11-15 18:58:00 -06:00
Kevin Risden 3c62f81b79 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-15 09:40:50 -06:00
Shalin Shekhar Mangar 0d290ae136 SOLR-9736: Solr resolves the collection name against the first available leader or first replica of the first slice 2016-11-15 14:18:43 +05:30
Steve Rowe ca80ba6b80 SOLR-9166: fix precommit 2016-11-14 20:00:44 -05:00
Erick Erickson c0b7edb5c8 SOLR-9166: Export handler returns zero for numeric fields that are not in the original doc. Fixed precommit 2016-11-14 12:59:14 -08:00
Kevin Risden 6da7e7b0b1 Merged Cao Manh Dat changes 2016-11-14 10:56:02 -06:00
Kevin Risden 99a6746011 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-14 10:06:29 -06:00
Erick Erickson 4a31b29cb0 SOLR-9166: Export handler returns zero for numeric fields that are not in the original doc 2016-11-14 07:19:28 -08:00
Christine Poerschke fba2a864d4 Fix arg order in CommonParamsTest's assertEquals. 2016-11-14 12:31:38 +00:00
Noble Paul 907bed887d SOLR-9718: replace assert and assertTrue() to assertEquals() 2016-11-14 12:41:59 +05:30
Noble Paul b359636fd9 SOLR-9718: replace assert and assertTrue() to assertEquals() 2016-11-14 12:33:37 +05:30
Kevin Risden c3400e8a2e Merge branch 'apache-https-master' into jira/solr-8593 2016-11-10 16:15:06 -05:00
Noble Paul 46fad72a9b Merge remote-tracking branch 'origin/master' 2016-11-08 20:06:58 +05:30
Noble Paul bb25214d44 SOLR-9739: JavabinCodec implements PushWriter interface 2016-11-08 20:06:28 +05:30
Noble Paul 4d6be31332 SOLR-9720: Use the new MapWriter and IteratorWriter interface 2016-11-08 18:41:26 +05:30
Noble Paul ef074a61f8 SOLR-9717: Refactor '/export' to not hardcode the JSON output and to use an API 2016-11-08 16:37:08 +05:30
Dawid Weiss 7fb72bfe10 SOLR-9293: Solrj client support for hierarchical clusters and other topics marker. 2016-11-07 15:27:27 +01:00
markrmiller 1381dd9287 SOLR-9055: Make collection backup/restore extensible.
- Introduced a parameter for the Backup operation to specify index backup strategy.
- Introduced two strategies for backing up index data.
  - One using core Admin API (BACKUPCORE)
  - Other skipping the backup of index data altogether. This is useful when
    the index data is copied via an external mechanism in combination with named
    snapshots (Please refer to SOLR-9038 for details)
  - In future we can add additional implementations of this interface (e.g. based on HDFS snapshots etc.)
- Added a backup property to record the Solr version. This helps to check the compatibility
  of backup with respect to the current version during the restore operation. This
  compatibility check is not added since its unclear what the Solr level compatibility guidelines
  are. But at-least having version information as part of the backup would be very useful.
2016-11-04 10:41:52 -04:00
Joel Bernstein ad9c1335fb Remove spurious imports 2016-11-03 21:28:31 -04:00
Kevin Risden 0188345e84 Make SQLHandlerStream extend JDBCStream 2016-11-03 10:22:20 -05:00
Kevin Risden 5f3b4237e0 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-03 09:40:29 -05:00
Noble Paul 1f595a20a2 SOLR-9720: Refactor Responsewriters to remove dependencies on TupleStream, Tuple, Explanation 2016-11-03 14:28:15 +05:30
Kevin Risden b2fe7a4945 Merge branch 'apache-https-master' into jira/solr-8593 2016-10-31 10:14:31 -05:00
Alan Woodward c444658286 Up test timeout to match all others in TestCollectionStateWatchers 2016-10-31 12:49:42 +00:00
David Smiley 2e21511cd3 SOLR-9621: Remove several Guava & Apache Commons calls in favor of java 8 alternatives. 2016-10-28 17:18:58 -04:00
Kevin Risden 01f0ef4cbe Merge branch 'apache-https-master' into jira/solr-8593 2016-10-28 10:29:33 -05:00
Alan Woodward 3b49705c43 SOLR-9132: Don't require indexInfo from corestatus over reloads 2016-10-28 15:17:53 +01:00
Alan Woodward f56d111adf SOLR-9132: Cut over some collections API and recovery tests 2016-10-28 10:33:21 +01:00
Kevin Risden e1ed290dac Fix JDBCStreamTest 2016-10-27 16:58:43 -05:00
Kevin Risden 8d04e2bc88 Fix test issues 2016-10-27 16:17:23 -05:00
Kevin Risden 77d33fa747 enable docvalues for a few fields 2016-10-27 16:16:54 -05:00
Kevin Risden 6e4924cbfc Update dependencies and fix minor errors 2016-10-27 15:54:58 -05:00
Kevin Risden 1cd8da9863 Merge branch 'apache-https-master' into jira/solr-8593 2016-10-27 15:08:46 -05:00
Shalin Shekhar Mangar 2172f3e008 SOLR-1085: Add support for MoreLikeThis queries and responses in SolrJ client 2016-10-27 17:41:25 +05:30
Joel Bernstein 727bf559a0 SOLR-9559: Add ExecutorStream to execute stored Streaming Expressions 2016-10-26 20:19:40 -04:00
yonik 57ba96145c SOLR-9326: Ability to create/delete/list snapshots at collection level. 2016-10-21 09:47:02 -04:00
Noble Paul ccbafdc403 SOLR-9546: Eliminate unnecessary boxing/unboxing going on in SolrParams 2016-10-21 18:58:33 +05:30
Kevin Risden 2e7f5f9283 Merge branch 'apache-https-master' into jira/solr-8593 2016-10-20 14:24:16 -05:00
Noble Paul 127bf9f772 SOLR-9657: Use cache for templates 2016-10-20 20:06:21 +05:30
Joel Bernstein f43742acc5 SOLR-9417: Allow daemons to terminate when they finish iterating a topic 2016-10-19 13:17:06 -04:00
Alan Woodward 67f3f433e2 SOLR-9634: Deprecate create/deleteCollection methods on MiniSolrCloudCluster 2016-10-18 12:34:13 +01:00
Alan Woodward 65f55802ee SOLR-9566: Don't put replicas into recovery when collections are created 2016-10-17 17:18:25 +01:00
Joel Bernstein ee3f9e1e05 SOLR-9337: Add fetch Streaming Expression 2016-10-10 14:20:29 -04:00
Mikhail Khludnev 9fea5129d3 SOLR-9614: fixing TestSolrCloudWithKerberosAlt 2016-10-10 12:20:58 +03:00
Mikhail Khludnev d8bb56d4ad SOLR-9604,SOLR-9608: fix HttpSolrClientConPoolTest.testPoolSize() 2016-10-09 18:17:49 +03:00
Alan Woodward f22b1da261 SOLR-9604,SOLR-9608: Ensure SSL connections are re-used
Fix ConnectionReuseTest. Add coverage for all SolrClients.
Remove explicit cacheKey for HttpRequestContext, make it singleton.
2016-10-09 08:06:09 +03:00
Kevin Risden 6aa28bd655 SOLR-8385: Narrow StreamFactory.withFunctionName clazz parameter to prevent misconfiguration 2016-10-07 08:24:02 -05:00
Alan Woodward 36b3b0884a Revert "SOLR-9604: Ensure SSL connections are re-used"
This reverts commit 0eb6b1c823, which was
causing test failures in ConnectionReuseTest - see SOLR-9608
2016-10-05 20:49:14 +01:00
Alan Woodward 0eb6b1c823 SOLR-9604: Ensure SSL connections are re-used 2016-10-05 15:36:16 +01:00
Noble Paul 221a6870b8 SOLR-9589: Remove jackson dependency from SolrJ 2016-10-04 19:20:44 +05:30
Noble Paul 5fbf135b80 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
SOLR-9589: Remove jackson dependency from SolrJ
2016-10-04 19:15:50 +05:30
Alan Woodward a9dab0f25a SOLR-9132: Migrate some more tests 2016-10-04 10:32:47 +01:00
Noble Paul fb33980f24 SOLR-9520: Kerberos delegation support in SolrJ 2016-10-04 01:29:32 +05:30
Noble Paul 3a76ef1193 SOLR-9520: Kerberos delegation support in SolrJ 2016-10-04 00:19:20 +05:30
Noble Paul 8d1f45864e SOLR-9520: Kerberos delegation support in SolrJ 2016-10-04 00:18:39 +05:30
Noble Paul 6f7099233e SOLR-9588: Remove Guava dependency from SolrJ 2016-10-03 13:06:33 +05:30
Alan Woodward f13b727213 SOLR-9205: Parse schema in LukeResponse 2016-09-30 10:49:14 +01:00
Joel Bernstein 8f00bcb1a0 SOLR-9258: Fix precommit 2016-09-29 18:03:26 -04:00
Joel Bernstein 9cd6437d4b SOLR-9258: Optimizing, storing and deploying AI models with Streaming Expressions 2016-09-29 18:03:26 -04:00
Noble Paul 063d624cdc SOLR-8146: refactored the replica rules classes so that they can be accessed from SolrJ 2016-09-29 19:39:33 +05:30
Noble Paul 5c5c0c93ae SOLR-9576: Make FieldAnalysisRequestHandler, DocumentAnalysisRequestHandler & DumpRequestHandler implicit 2016-09-28 20:04:04 +05:30
Noble Paul 09890f7f93 SOLR-9572: config API to show expanded useParams for request handlers inline 2016-09-28 11:30:03 +05:30
Jan Høydahl 0eaa85f696 SOLR-6677: part 3, moving some more to DEBUG. Only printing "Updated live nodes from ZooKeeper..." if there was actually a change 2016-09-27 12:43:04 +02:00
Jan Høydahl 8046fe29e5 SOLR-9411: Better validation of dynamic field for Schema API 2016-09-27 12:17:38 +02:00
Noble Paul f6622ef374 SOLR-9557: reverting an optimization 2016-09-26 21:59:31 +05:30
Alan Woodward be4233cb56 SOLR-9132: Cut over DeleteReplica tests
Also fixes some bugs in CollectionAdminRequest.DeleteReplica from SOLR-9319
2016-09-26 13:15:14 +01:00
Noble Paul 581effd152 removed unnecessary public static final 2016-09-26 17:15:36 +05:30
Noble Paul 691472c0f0 SOLR-9557: Every implicit requesthandler now has a default 'useParams' attribute 2016-09-26 17:00:17 +05:30
Joel Bernstein 18c31b3250 SOLR-9537: Support facet scoring with the scoreNodes expression 2016-09-23 14:08:31 -04:00
Dennis Gove 6365920a0e SOLR-8487: Adds CommitStream to support sending commits to a collection being updated 2016-09-22 13:07:01 -04:00
Alan Woodward c55a14e198 SOLR-9544: Give ObjectReleaseTracker more time for async closing objects 2016-09-22 14:02:06 +01:00
Alan Woodward a002aa5248 SOLR-5563: Quieten down SolrCloud logging 2016-09-22 09:42:38 +01:00
Alan Woodward bd3fc7f43f Revert "SOLR-9512: CloudSolrClient tries other replicas if a cached leader is down"
This reverts commit 3d130097b7.
2016-09-20 14:35:53 +01:00
Alan Woodward 3d130097b7 SOLR-9512: CloudSolrClient tries other replicas if a cached leader is down 2016-09-19 15:29:43 +01:00
Noble Paul 1e18c12c19 SOLR-9502: ResponseWriters should natively support MapSerializable 2016-09-19 17:45:17 +05:30
Varun Thacker 61955efc50 SOLR-9451: Make clusterstatus command logging less verbose 2016-09-16 19:26:07 +05:30
Noble Paul 84e01eb84b shallowMap() should behave like a map. testcase added 2016-09-16 17:08:55 +05:30
Shalin Shekhar Mangar 3fe1486683 SOLR-9365: Reduce noise in solr logs during graceful shutdown 2016-09-13 00:36:12 +05:30
Shalin Shekhar Mangar f177a660f5 SOLR-9438: Shard split can be marked successful and sub-shard states switched to 'active' even when one or more sub-shards replicas do not recover due to the leader crashing or restarting between the time the replicas are created and before they can recover 2016-09-12 17:00:46 +05:30
Chris Hostetter 60ce8d7c54 SOLR-9490: Fixed bugs in BoolField that caused it to erroneously return "false" for all docs depending on usage 2016-09-09 11:45:09 -07:00
Noble Paul ecbb588f97 Merge remote-tracking branch 'origin/master' 2016-09-06 11:39:32 +05:30
Noble Paul 6ca9aeb510 Refactor out the serialization & deserialization 2016-09-06 11:39:04 +05:30
Mikhail Khludnev ff69d14868 SOLR-5725: facet.exists=true caps counts by 1 to make facet.method=enum
faster.
2016-09-03 07:24:48 +03:00
Noble Paul e203c9af95 SOLR-9319: DELETEREPLICA can accept a 'count' and remove appropriate replicas 2016-09-02 09:27:43 +05:30
Noble Paul 23825b2480 SOLR-9452: Altered javadocs to reflect the new behavior 2016-08-31 18:47:43 +05:30
Shalin Shekhar Mangar f0f92d875e SOLR-9452: JsonRecordReader should not deep copy document before handler.handle() 2016-08-31 18:12:02 +05:30
Shalin Shekhar Mangar ae40929f0b SOLR-9445: Admin requests are retried by CloudSolrClient and LBHttpSolrClient on failure 2016-08-27 09:08:02 +05:30
Varun Thacker 364a29c0ab SOLR-9428: Improve logging to log root cause 2016-08-22 01:08:47 +05:30
Christine Poerschke 250a867de2 SOLR-9391: LBHttpSolrClient.request now correctly returns Rsp.server when previously skipped servers were successfully tried. 2016-08-19 10:01:45 +01:00
Shalin Shekhar Mangar f82c3b1206 SOLR-9405: ConcurrentModificationException in ZkStateReader.getStateWatchers 2016-08-12 17:33:32 +05:30
Noble Paul 92b5a76b54 Merge remote-tracking branch 'origin/master'
Conflicts:
	solr/CHANGES.txt
2016-08-11 12:13:38 +05:30
Noble Paul ae60c74f8c 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:12:48 +05:30
Varun Thacker d5a7ca79f3 SOLR-9242: fix windows path issue + load live cluster properties. This closes #62 2016-08-05 08:34:55 +05:30
jbernste 73de207201 SOLR-9252: Pre-commit fixes 2016-08-03 11:43:00 -04:00
jbernste 87938e00e9 SOLR-9252: Feature selection and logistic regression on text 2016-08-03 11:43:00 -04:00
David Smiley b7aa0b56be SOLR-9269: Snapshots (Solr core level) 2016-07-28 14:23:09 -04:00
Gregory Chanan 7bf019a9c2 SOLR-9200: Add Delegation Token Support to Solr 2016-07-28 12:59:05 -04:00
Alan Woodward c2db9fae2c SOLR-9106: Add javadocs to ZkStateReader cluster properties methods 2016-07-28 10:55:52 +01:00
Varun Thacker 3603a62889 SOLR-9340: Change ZooKeeper disconnect and session expiry related logging from INFO to WARN to make debugging easier 2016-07-26 23:41:39 +05:30
Noble Paul 9a24dc5d2c SOLR-9339: NPE in CloudSolrClient when the response is null 2016-07-26 13:08:28 +05:30
Noble Paul 4ed68bc80e SOLR-9334: CloudSolrClient.collectionStateCache is unbounded 2016-07-25 20:47:19 +05:30
Nicholas Knize a00e34495b remove unused import (DocCollection) 2016-07-22 11:46:25 -05:00
Noble Paul 0ad365cbd0 SOLR-9323: Expose ClusterSate.getCollectionStates which returns unverified list of collection names 2016-07-22 13:56:58 +05:30
jbernste c3c1f8d6e6 SOLR-9240: Added testcase with text field in the fl for topic 2016-07-16 22:36:30 -04:00
jbernste fc3894e837 SOLR-9240:Support running the topic() Streaming Expression in parallel mode. 2016-07-16 22:36:30 -04:00
Steve Rowe 51d4af6859 LUCENE-7013: add licence header position checker to -validate-source-patterns, and fix the violations it found 2016-07-13 13:21:36 -04:00
Varun Thacker eefdc62c99 SOLR-9242: Move license headers to the top + force refresh cluster propery before reading the 'location' param 2016-07-13 14:42:19 +05:30
Alan Woodward be8d56ada6 SOLR-9181: Fix race in constructState() and missing call in forceUpdateCollection() 2016-07-08 10:01:31 +01:00
Christine Poerschke 976079a8ee SOLR-9090: Add directUpdatesToLeadersOnly flag to solrj CloudSolrClient. (Marvin Justice, Christine Poerschke) 2016-07-07 10:03:21 +01:00
jbernste d9a0eba1a3 SOLR-9193: Fix-up javdoc 2016-07-06 18:59:05 -04:00
jbernste c473441958 SOLR-9193: Added terms.limit and distrib=true params to /terms request 2016-07-06 14:06:38 -04:00
jbernste 12741cc933 SOLR-9193: Added test using the termFreq param and basic error handling 2016-07-06 14:06:38 -04:00
jbernste 360c4da90b SOLR-9193: fixing failing tests due to changes in TermsComponent 2016-07-06 14:06:38 -04:00
jbernste e1f51a20d7 SOLR-9193: Add scoreNodes Streaming Expression 2016-07-06 14:06:38 -04:00
jbernste 551bdc6f53 SOLR-9243:Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms 2016-07-06 14:06:37 -04:00
Varun Thacker bfe5c5ae49 SOLR-9242: Collection backup/restore to provide a param for specifying underlying storage repository to use 2016-07-06 13:18:13 +05:30
Erick Erickson da1f6e9813 SOLR-8848:When a SolrJ alias watch is triggered, the new alias state should be logged 2016-07-05 18:03:56 -07:00
Alan Woodward 521764ffa5 SOLR-9181: More logging 2016-07-05 15:17:24 +01:00
Alan Woodward e6e0765e86 SOLR-9181: Add some logging to ZkStateReader to try and debug test failures 2016-07-05 10:46:43 +01:00
Erick Erickson 65c34857f8 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper. More Windows fixes 2016-07-03 17:14:25 -07:00
Erick Erickson 961eaf9add SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper - Fix Windows failures 2016-07-02 16:07:38 -07:00
Erick a851d5f557 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper 2016-07-02 10:25:44 -07:00
Alan Woodward 1fa0d0419a Remove unused import 2016-07-02 12:23:01 +01:00
Alan Woodward cefab1dffc SOLR-9181: Fix some races in ZkStateReader collection watch updates 2016-07-01 15:47:47 +01:00
Shalin Shekhar Mangar 51fde1cbf9 SOLR-9262: Connection and read timeouts are being ignored by UpdateShardHandler after SOLR-4509 2016-07-01 13:16:46 +05:30
Noble Paul 1dc7480bcd SOLR-9216: Support collection.configName in MODIFYCOLLECTION request 2016-06-30 12:10:36 +05:30
Dennis Gove 1ae0d8d6e1 SOLR-9246: If the JDBCStream sees an unknown column type it will now throw a detailed exception 2016-06-29 14:27:56 -04:00
Shalin Shekhar Mangar adaabaf834 Trivial name spelling fix for SOLR-445
Merge branch 'patch-3' of https://github.com/arafalov/lucene-solr-1

This closes #43
2016-06-28 16:21:22 +05:30
Noble Paul 060cacfdab SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs endpoint 2016-06-21 18:50:49 +05:30
Noble Paul 7cd1513006 Merge remote-tracking branch 'origin/master' 2016-06-21 13:33:13 +05:30
Noble Paul e5822a8f73 SOLR-9233: avoid new string creation in CollectionAction 2016-06-21 13:32:53 +05:30
Adrien Grand c52a71797d SOLR-8995: Remove unused imports. 2016-06-20 09:57:09 +02:00
Noble Paul bd9005d562 SOLR-8995: replace SAM implementations with lambda 2016-06-20 11:11:18 +05:30
Alexandre Rafalovitch ebffa9aa2a Trivial Spelling fix
ToleranteUpdateProcessorFactory -> TolerantUpdateProcessorFactory
2016-06-13 23:22:49 +10:00
Christine Poerschke 52f5c50246 LUCENE-7319: remove unused imports 2016-06-13 09:59:14 +01:00
Erick Erickson 844ca4a348 SOLR-9187: Support dates and booleans in /export handler, support boolean DocValues fields 2016-06-11 17:38:19 -07:00
Noble Paul 66cd0edc52 SOLR-7123: Syntax modified. Multiple paths can be added in the split parameter itself (pipe separated) 2016-06-07 13:31:40 -07:00
Alan Woodward b64c558e3e Revert "SOLR-9140: Replace some zk state polling with CollectionStateWatchers"
There's still some places where notifications can be missed, so I'm reverting
this until those are fixed.

This reverts commit d550b1ca43.
2016-06-06 13:13:54 +01:00
Alan Woodward 1e2ba9fe9b Revert "SOLR-9181: Fix test bug in ZkStateReaderTest"
This reverts commit 950fd91335.
2016-06-04 11:05:44 +01:00
Alan Woodward d550b1ca43 SOLR-9140: Replace some zk state polling with CollectionStateWatchers 2016-06-03 15:50:23 +01:00
Alan Woodward 950fd91335 SOLR-9181: Fix test bug in ZkStateReaderTest 2016-06-03 15:12:50 +01:00
Noble Paul 459a9c77a6 SOLR-8744: Overseer operations performed with fine grained mutual exclusion 2016-06-02 14:47:57 +05:30
Noble Paul 34d9f0a7a3 SOLR-7123: '/update/json/docs' path supports nested documents 2016-06-01 18:33:54 +05:30
Noble Paul d33381ef49 fixing typos in javadocs 2016-05-31 23:12:09 +05:30
Jan Høydahl e37e49ed46 SOLR-8583: Apply highlighting to hl.alternateField by default. 2016-05-29 00:34:32 +02:00
jdyer1 4d4030350b SOLR-9141: Fix ClassCastException when using the /sql handler count() function with single-shard collections 2016-05-26 13:39:37 -05:00
Dennis Gove e4e990b993 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:13:37 -04:00
Noble Paul eae605b532 Merge remote-tracking branch 'origin/master' 2016-05-23 12:05:53 +05:30
Noble Paul 55e3fd9ddf more logging for debug errors such as these SOLR-9143 2016-05-23 12:05:17 +05:30
Uwe Schindler a5f1902869 LUCENE-7296: Update forbiddenapis to version 2.1 2016-05-23 00:16:47 +02:00
Alan Woodward ee5836746c SOLR-9132: Move some tests to SolrCloudTestBase 2016-05-19 16:43:31 +01:00
Alan Woodward 6113e1f2fa SOLR-9113: Fix re-registration race 2016-05-19 14:49:26 +01:00
jbernste 97fd7988ae SOLR-9128: Fix error handling issues in Streaming classes 2016-05-18 21:52:53 -04:00
Alan Woodward 2b9cbe97a8 SOLR-9113: Improve state watcher API 2016-05-17 10:34:06 +01:00
Alan Woodward c0d23a741e SOLR-8323: Handle removal of legacy collections 2016-05-14 19:08:21 +01:00
Alan Woodward 963c6522b6 SOLR-8323: DocCollection.isFullyActive needs to know how many replicas to expect 2016-05-14 11:17:57 +01:00
Alan Woodward 77962f4af4 SOLR-9106: Cache cluster properties on ZkStateReader 2016-05-14 10:06:36 +01:00
Alan Woodward b6d7421412 SOLR-8323: Add CollectionStateWatcher API 2016-05-13 21:34:16 +01:00
jbernste 1f5d050653 Fix error message assert 2016-05-11 23:49:06 -04:00
Erick Erickson 5341918a0c SOLR-9083: Remove deprecated <types> and <fields> from schemas 2016-05-10 06:54:11 -07:00
Erick Erickson f4359ff8ff 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:37:32 -07:00
Noble Paul 4a58b3d803 Merge remote-tracking branch 'origin/master' 2016-05-09 10:20:58 +05:30
Noble Paul f9eb4febc4 SOLR-9071: simplify hashcode() , equals() and implement toString() 2016-05-09 10:20:38 +05:30
Varun Thacker a969d99ce9 SOLR-7117: AutoAddReplicas should have a cluster wide property for controlling number of cores hosted on each node 2016-05-08 23:50:18 +05:30
Noble Paul d57e0de5ea SOLR-9071: rename the getters in org.apache.solr.common.util.Pair class 2016-05-08 12:27:51 +05:30
Kevin Risden 26027259a5 SOLR-8458: Add Streaming Expressions tests for parameter substitution 2016-05-06 09:37:47 -05:00
Kevin Risden 732e7e80c6 SOLR-8184: Negative tests for JDBC Connection String 2016-05-06 08:57:06 -05:00
Christine Poerschke d3e2c45907 SOLR-9074: solrj CloudSolrClient.directUpdate tweak
Defer two NamedList allocations and initialCapacity one of them.
2016-05-06 09:57:22 +01:00
Dennis Gove c7929f8b85 SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the incoming streams, eg. fieldA=fieldB 2016-05-05 20:30:39 -04:00
Dennis Gove ff56531762 SOLR-8996: Greatly decreases the probability of a RandomStream test failure from 1 in 5! to 1 in 1000! 2016-05-05 19:50:47 -04:00
jbernste be1cb9a1cd SOLR-8972: Add GraphHandler and GraphMLResponseWriter to support graph visualizations 2016-05-05 16:36:19 -04:00
Kevin Risden aae6f2703f Merge branch 'master' into jira/solr-8593 2016-05-05 08:37:42 -05:00
Shalin Shekhar Mangar 6ade99947a SOLR-9014: Fix javadoc 2016-05-05 05:32:42 +05:30
Shalin Shekhar Mangar f5497a33e2 SOLR-9014: Deprecate ClusterState.getCollections and introduce a new ClusterState.getCollectionsMap instead 2016-05-05 05:22:03 +05:30
Shalin Shekhar Mangar 827573b1a7 SOLR-9030: Added a code comment as to why we use Integer.MAX_VALUE instead of -1 2016-05-05 05:18:22 +05:30
Shalin Shekhar Mangar c2662f24ac SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter 2016-05-05 05:16:39 +05:30
Kevin Risden 4ea7f4ef9b Merge branch 'master' into jira/solr-8593 2016-05-04 17:21:54 -05:00
Dennis Gove dccf6a4d98 SOLR-9064: Adds an explanation of the incoming stream to an UpdateStream's explanation 2016-05-04 17:57:12 -04:00
Kevin Risden 5daf6c40d8 Cleanup implementation 2016-05-04 14:56:23 -05:00
Alan Woodward 630a8c950d SOLR-9065: Migrate SolrJ tests to SolrCloudTestCase 2016-05-04 20:07:54 +01:00
Kevin Risden 9e6f0b7a24 Merge branch 'master' into jira/solr-8593 2016-05-04 11:15:17 -05:00
Kevin Risden e15bab37a1 SOLR-9066: Make CountMetric return long instead of double 2016-05-04 11:07:14 -05:00
jbernste fc6c24a9d4 SOLR-9059: NPE in SolrClientCache following collection reload 2016-05-03 13:04:21 -04:00
Noble Paul 184da9982c added a couple of extra methods 2016-05-03 20:34:36 +05:30
David Smiley 70bcd562f9 SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE 2016-05-02 22:20:46 -04:00
Kevin Risden 201527a611 Fix JdbcTest for database metadata 2016-04-29 08:57:02 -05:00
Kevin Risden 52cc4d16bf Fix JDBC tests, update dependencies, integrate Calcite more 2016-04-28 20:21:20 -05:00
Chris Hostetter 791d1e7393 SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested 2016-04-28 13:18:01 -07:00
jbernste 2c66d4b046 SOLR-9027: GraphTermsQuery optimizations and more explicit handling of non-caching behavior 2016-04-28 13:31:22 -04:00
Chris Hostetter 9ab76a1e41 SOLR-9040 / SOLR-4509: Fix default SchemaRegistryProvider so javax.net.ssl.* system properties are respected by default 2016-04-27 15:40:41 -07:00
jbernste 9ce830d8f2 SOLR-8925: Integrate the GraphTermsQuery into the gatherNodes expression 2016-04-26 16:33:26 -04:00
Shai Erera 9166647918 SOLR-9016: Fix SolrIdentifierValidator to not accept empty identifiers 2016-04-26 18:20:47 +03:00
Noble Paul 506d61abe7 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-26 19:24:52 +05:30
Noble Paul 0233765c27 SOLR-9041: 'core-admin-read' and 'core-admin-edit' are well known permissions 2016-04-26 19:24:23 +05:30
Scott Blum 89c65af2a6 SOLR-9029: fix rare ZkStateReader visibility race during collection state format update 2016-04-25 21:15:02 -04:00
Shalin Shekhar Mangar 922265b478 SOLR-9014: Deprecate and reduce usage of ClusterState methods which may make calls to ZK via the lazy collection reference 2016-04-26 01:50:26 +05:30
Noble Paul 7b89d0f698 Merge remote-tracking branch 'origin/master' 2016-04-22 12:34:03 +05:30
Noble Paul 827c670d18 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 added back another test and fixed test errors 2016-04-22 11:32:29 +05:30
markrmiller f3de223774 SOLR-8933: Solr should not close container streams. 2016-04-21 11:53:58 -04:00
Kevin Risden a9a842f05d SOLR-9020: Implement StatementImpl/ResultSetImpl get/set fetch* methods and proper errors for traversal methods 2016-04-20 14:48:23 -05:00
Kevin Risden 221ecfa898 SOLR-8809: Implement Connection.prepareStatement 2016-04-20 10:00:41 -05:00
Scott Blum 71a5870ae7 SOLR-8973: Zookeeper frenzy when a core is first created. 2016-04-19 20:46:34 -04:00
Dennis Gove 2e95a54a52 SOLR-9009: Adds ability to get an Explanation of a Streaming Expression 2016-04-19 11:17:28 -04:00
jbernste 7b5f12e622 SOLR-8996: Add Random Streaming Expression 2016-04-18 16:09:56 -04:00
jbernste 8659ea33d9 SOLR-8925: Add gatherNodes Streaming Expression to support breadth first traversals 2016-04-18 16:09:56 -04:00
Noble Paul d830987ae2 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 18:58:08 +05:30
Dennis Gove eb74d814bb SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:39:26 -04:00
Timothy Potter b36a6ecbe4 SOLR-8908: Fixed OnReconnect listener management in ZkController to allow for de-registering listeners.
Here's what this commit includes:
* Added the removeOnReconnectListener method to ZkController to allow OnReconnect listener implementations to de-register; avoids a memory leak
* Updated ZkIndexSchemaReader to add a CloseHook to the SolrCore it supports to de-register as an OnReconnect listener
* Added unit test to verify that after reloading and deleting a SolrCore in managed schema mode, the associated ZkIndexSchemaReader gets de-registered correctly
2016-04-14 10:17:42 -07:00
Anshum Gupta 689e9664c5 SOLR:8976: Add SolrJ support for REBALANCELEADERS Collections API 2016-04-13 12:10:26 -07:00
markrmiller 0a5f7f8b5e SOLR-7729: ConcurrentUpdateSolrClient ignores the collection parameter in some methods. 2016-04-13 10:55:21 -04:00
markrmiller 744b419b42 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:54:40 -04:00
Anshum Gupta b02b026b7d SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-07 15:57:49 -07:00
Christine Poerschke 93511352ac SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 12:54:42 +01:00
Noble Paul 18fb9463de SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 22:45:36 +05:30
markrmiller ce172acb8f SOLR-4509: Move to non deprecated HttpClient impl classes to remove stale connection check on every request and move connection lifecycle management towards the client. 2016-04-01 12:21:59 -04:00
jbernste 3500b45d6d SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:24:51 -04:00
jbernste 0b2040d61c SOLR-8924: RollupStream breaks with null values in the group by buckets 2016-03-31 11:40:53 -04:00
David Smiley 5e5fd66257 SOLR-8903: Move SolrJ DateUtil to contrib/extraction as ExtractionDateUtil.
And removed obsolete methods.
2016-03-30 15:00:29 -04:00
David Smiley 39932f5758 SOLR-8904: fix accidental move of DateUtil to ExtractingDateUtil (wrong patch file) 2016-03-30 14:31:26 -04:00
David Smiley 94c04237cc SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
2016-03-30 13:42:42 -04:00
Chris Hostetter f051f56be9 SOLR-445: new ToleranteUpdateProcessorFactory to support skipping update commands that cause failures when sending multiple updates in a single request.
SOLR-8890: New static method in DistributedUpdateProcessorFactory to allow UpdateProcessorFactories to indicate request params that should be forwarded when DUP distributes updates.

This commit is a squashed merge from the jira/SOLR-445 branch (as of b08c284b26b1779d03693a45e219db89839461d0)
2016-03-25 11:02:55 -07:00
Kevin Risden a0da40204a SOLR-8810: Implement Connection.setReadOnly, Statement.set/getFetchSize, ResultSet.getType 2016-03-23 17:28:59 -05:00