Commit Graph

1561 Commits

Author SHA1 Message Date
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
Kevin Risden dbee659174 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:49:21 -05:00
jbernste 42262e6768 SOLR-8882: Wait for checkpoint in DaemonStream, TopicStream testcase 2016-03-21 23:38:45 -04:00
jbernste 5a40ae0305 SOLR-8878: Remove debugging 2016-03-20 22:19:38 -04:00
jbernste f86ac58a5a SOLR-8878: Allow the DaemonStream run rate be controlled by the internal stream 2016-03-20 22:05:18 -04:00
Dennis Gove e3b785a906 SOLR-8599: Improved the tests for this issue to avoid changing a variable to non-final 2016-03-20 11:13:56 -04:00
David Smiley a22099a398 SOLR-8866: UpdateLog now throws an error if it can't serialize a field value 2016-03-17 13:22:16 -04:00
Shalin Shekhar Mangar ae846bfb49 SOLR-8860: Remove back-compat handling of router format made in SOLR-4221 in 4.5.0 2016-03-17 09:21:30 +05:30
jbernste 007d41c9f5 SOLR-8832: Faulty DaemonStream shutdown procedures 2016-03-11 15:35:51 -05:00
anshum b0caca3b60 SOLR-8765: Fix CollectionAdminRequest.SplitShard to accept requests without the 'shard' parameter 2016-03-10 16:49:02 -08:00
Shalin Shekhar Mangar 66cd070d7a Fix javadocs for ClusterState.getCollectionOrNull 2016-03-10 18:16:43 +05:30
Alan Woodward f24810bdf1 SOLR-8765: Throw SolrException rather than IAE on name validation 2016-03-09 21:15:58 +00:00
Alan Woodward 4015f12ff1 SOLR-8765: Set parameters correctly in async shard requests 2016-03-09 17:38:38 +00:00
Alan Woodward 55c595a9dc SOLR-8765: Enforce required parameters in SolrJ Collections API 2016-03-09 12:51:05 +00:00
jbernste 56ad6e5d8a SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC 2016-03-08 15:22:42 -05:00
Alan Woodward 5b7be9d16a SOLR-8782: Improve async collections API 2016-03-08 10:53:29 +00:00
Noble Paul f2c281abcb SOLR-8736: schema GET operations on fields, dynamicFields, fieldTypes, copyField are
reimplemented as a part of the bulk API with less details. The tests and write implementations are removed
2016-03-07 22:44:36 +05:30
Shalin Shekhar Mangar 093a8ce57c SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow forceUpdateCollection(collection) 2016-03-07 15:03:03 +05:30
Varun Thacker 21bf9c6e80 SOLR-8779: Fix missing InterruptedException handling in ZkStateReader 2016-03-04 20:12:00 +05:30
Noble Paul c27dd8e038 SOLR-8750 : Use lambdas in code where SAM type interfaces are used 2016-03-04 18:53:47 +05:30
anshum 7daad8d7d1 SOLR-8725: Fix precommit check 2016-03-03 13:13:26 -08:00
anshum 9c777ab5ad SOLR-8423: DeleteShard and DeleteReplica should cleanup instance and data directory by default and add support for optionally retaining the directories 2016-03-03 11:54:26 -08:00
Steve Rowe d0279b8d5f SOLR-7010: Remove facet.date client functionality 2016-03-03 14:34:45 -05:00
anshum 6de2b7dbd1 SOLR-8725: Allow hyphen in shard, collection, core, and alias names but not the first char 2016-03-03 10:04:07 -08:00
Shalin Shekhar Mangar d87d8da17d * SOLR-7516: Improve javadocs for JavaBinCodec, ObjectResolver and enforce the single-usage policy
This closes #17
2016-03-03 18:06:04 +05:30
Steve Rowe 9427b7402d SOLR-8764: Remove deprecated methods and classes 2016-03-02 09:22:20 -05:00
Dennis Gove 2c0a5e3036 SOLR-8599: After a failed connection during construction of SolrZkClient attempt to retry until a connection can be made 2016-02-22 19:25:16 -05:00
jbernste 2b3529c3b8 SOLR-8708: DaemonStream should catch InterruptedException when reading underlying stream. 2016-02-20 22:35:10 -05:00
jbernste b2475bf9fd SOLR-8588: Add TopicStream to the streaming API to support publish/subscribe messaging 2016-02-19 20:03:43 -05:00
markrmiller 3124a4debd SOLR-8693: Improve ZkStateReader logging. 2016-02-19 19:09:58 -05:00
markrmiller e30d638c51 SOLR-8695: Ensure ZK watchers are not triggering our watch logic on connection events and make this handling more consistent. 2016-02-19 14:36:53 -05:00
markrmiller c4d31798cc SOLR-8701: CloudSolrClient decides that there are no healthy nodes to handle a request too early. 2016-02-19 08:51:19 -05:00
anshum eb0e270043 SOLR-8677: Fix assert statement 2016-02-18 18:43:56 -08:00
anshum c7c5b8fe49 SOLR-8677: Fix broken build 2016-02-18 18:06:12 -08:00
anshum a54e819a62 SOLR-8677: Fix broken build 2016-02-18 16:03:58 -08:00
anshum d01230d639 SOLR-8677: Restrict creation of shards with invalid names 2016-02-18 15:18:44 -08:00
Noble Paul 8bcac81a21 SOLR-8692 moved the embedded json out to resources dir 2016-02-18 14:59:09 -08:00
Christine Poerschke 677779086c SOLR-5730: Make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector configurable in Solr. 2016-02-12 20:16:02 +00:00
jbernste 111f45efa9 SOLR-8529: Improve JdbcTest to not use plain assert statements 2016-02-11 13:37:07 -05:00
jbernste 56b79ece8b SOLR-8527: Improve JdbcTest to cleanup properly on failures 2016-02-11 13:15:29 -05:00
jbernste 739b81063e SOLR-8190: Implement Closeable on TupleStream 2016-02-11 12:46:04 -05:00
jbernste 8eb58cc000 SOLR-8461: CloudSolrStream and ParallelStream can choose replicas that are not active 2016-02-11 10:54:03 -05:00
Varun Thacker 9985a0966b SOLR-8534: Fix SolrJ APIs to add async support 2016-02-10 16:53:52 -08:00
markrmiller a8bc427aac SOLR-8578: Successful or not, requests are not always fully consumed by Solrj clients and we count on HttpClient or the JVM. 2016-02-10 15:32:56 -05:00
Mikhail Khludnev eac3bb9b32 SOLR-8466: facet.method=uif for UnInvertedField faceting, like it was with 'fc' earlier. 2016-02-10 01:06:56 +03:00
Uwe Schindler 8dddd88d30 Fix more locale bugs in SQL handler ans streams 2016-02-09 08:32:48 +01:00
markrmiller 899f1fcf74 SOLR-8551: Make collection deletion more robust. 2016-02-08 21:39:01 -05:00
jbernste 784124e100 SOLR-8660: JdbcTest test failure due to Locale specific issue when checking for LIMIT clause. 2016-02-08 18:20:07 -05:00
anshum 03d7f80b27 SOLR-8648: Support selective clearing up of stored async collection API responses via DELETESTATUS API 2016-02-08 13:15:46 -08:00
jbernste 23fe5f2dc5 SOLR-8655: DaemonStream should 'put' EOF Tuple on the blocking queue 2016-02-07 20:42:12 -05:00
Erick Erickson 7053a99f49 SOLR-8651: The commitWithin parameter is not passed on for deleteById in UpdateRequest for distributed queries 2016-02-07 17:08:20 -08:00
jbernste 3d47612b04 SOLR-8652: Lower case the limit clause 2016-02-06 21:42:01 -05:00
jbernste 75a81795b8 SOLR-8652: Check if second to last token is limit to test for limit clause 2016-02-06 21:25:05 -05:00
jbernste ba20faa955 SOLR-8652: Implement Statement.setMaxRows() 2016-02-06 21:03:45 -05:00
jbernste dc6b1a68d2 SOLR-8507, SOLR-8638: Add information about database product name, product version, driver name, and driver version. Implement ConnectionImpl setCatalog and setSchema. 2016-02-06 20:25:51 -05:00
Uwe Schindler 0f43705788 LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back) 2016-02-04 23:02:50 +01:00
Shai Erera 813ca77250 LUCENE-7013: Move license header to top of file 2016-02-04 15:51:19 +02:00
Noble Paul f85036cd9c SOLR-8640: CloudSolrClient does not send credentials for update request 2016-02-04 18:59:03 +05:30
Dennis Gove 3528cc32cb SOLR-8409: Ensures that quotes in solr params (eg. q param) are properly handled 2016-02-03 20:42:48 -05:00
jbernste 70ad8316f4 SOLR-8631: Throw UnsupportedOperationException for DatabaseMetaDataImpl.getTypeInfo() 2016-02-02 13:24:20 -05:00
jbernste 2419a3873a SOLR-8510: Implement DatabaseMetaDataImpl.getSchemas() 2016-02-02 13:19:06 -05:00
jbernste edf665988d SOLR-8508: Implement DatabaseMetaDataImpl.getCatalogs() 2016-02-01 16:21:13 -05:00
jbernste e20820a04d SOLR-8285: Ensure the /export handler works with NULL field values 2016-01-31 13:21:10 -05:00
jbernste 79e384bac5 SOLR-8602: Implement ResultSetImpl.wasNull() 2016-01-28 11:08:31 -05:00
jbernste ad96fd0d89 SOLR-8601: RollupStream loses the type for group by buckets 2016-01-27 16:09:44 -05:00
jbernste b3eb7222df SOLR-8603: Implement StatementImpl.getMoreResults() 2016-01-27 14:04:06 -05:00
jbernste eeaf3eb96f SOLR-8574: Implement ConnectionImpl.isValid() and DatabaseMetaDataImpl.getConnection() 2016-01-27 13:48:06 -05:00
jbernste eb6bf9bc54 SOLR-8250: Implement ResultSetMetaDataImpl getColumnLabel(int column) and getColumnDisplaySize(int column) 2016-01-27 13:21:47 -05:00
Shalin Shekhar Mangar 6acfa2a4ff SOLR-8595: Use BinaryRequestWriter by default in HttpSolrClient and ConcurrentUpdateSolrClient 2016-01-27 20:50:54 +05:30
jbernste 3654fc33b9 SOLR-8518: Implement ResultSetMetaDataImpl getColumnType and getColumnTypeName 2016-01-26 10:55:32 -05:00
jbernste 0ff8d11367 SOLR-8512: Implement minimal set of get* methods in ResultSetImpl for column indices 2016-01-25 22:56:01 -05:00
jbernste ce0069a751 SOLR-8517: Implement minimal set of get* methods in ResultSetImpl for column names 2016-01-25 21:39:44 -05:00
jbernste c99698b6dd SOLR-8519: Implement ResultSetMetaDataImpl.getColumnCount() 2016-01-25 13:53:51 -05:00
jbernste a652065c26 SOLR-8573: Implement ConnectionImpl,StatementImpl,ResultSetImpl clearWarnings and getWarnings 2016-01-24 17:53:12 +01:00
Joel Bernstein 077e78f417 SOLR-8550: Add asynchronous DaemonStreams to the Streaming API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726291 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 19:07:15 +00:00
Noble Paul 9298da5690 SOLR-8582 : memory leak in JsonRecordReader affecting /update/json/docs. Large payloads
cause OOM

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726261 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 17:28:27 +00:00
Shai Erera 2311c7fee1 SOLR-8560: Add RequestStatusState enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726144 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 05:39:54 +00:00
Dennis Gove 6501f1891b SOLR-8556: Add ConcatOperation to be used with the SelectStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725769 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 18:08:16 +00:00
Christine Poerschke 16c53a0fea SOLR-8565: add & use CommonParams.(ROWS|START)_DEFAULT constants, add CommonParamsTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725708 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 12:43:25 +00:00
Joel Bernstein eae126ac1c SOLR-8514, SOLR-8502: Implement StatementImpl.execute(String sql), StatementImpl.getResultSet(), and StatementImpl.getUpdateCount()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725662 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 02:12:30 +00:00
Joel Bernstein cecb9f4e25 SOLR-8516, SOLR-8502: Implement ResultSetImpl.getStatement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725616 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 21:25:36 +00:00
Joel Bernstein 1de59cad5d SOLR-8515, SOLR-8502: Implement StatementImpl.getConnection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725595 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 19:14:15 +00:00
Varun Thacker a2e5c37c85 SOLR-8534: Add generic support for collection APIs to be async
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725474 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 11:32:14 +00:00
Joel Bernstein 99da9e8fe3 SOLR-8513,SOLR-8502: Implement ResultSetImpl.getMetaData()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724870 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 18:55:59 +00:00
Joel Bernstein ede76cfe13 SOLR-8502: Implement DatabaseMetaDataImpl.getURL()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724867 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 18:30:11 +00:00
Yonik Seeley 2a1d20b57a SOLR-8330: fix log4j.properties to match new name of log update processor logger
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724826 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 14:44:06 +00:00
Mark Robert Miller 2789c45a95 SOLR-8450: Do not retry admin requests, they are not idempotent.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724813 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 14:13:36 +00:00
Mark Robert Miller c6c4dded6d SOLR-8450: Fix debug logging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724807 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 13:53:15 +00:00
Joel Bernstein a9ea61f905 SOLR-8503: Implement org.apache.solr.client.solrj.io.sql.ConnectionImpl.getMetaData and getCatalog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724721 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 01:28:28 +00:00
Mark Robert Miller 32fc5285f6 SOLR-8501: Specify the entity request size when known in HttpSolrClient.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724612 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 14:00:02 +00:00
Gregory Chanan ae1da6ba16 SOLR-8415: Provide command to switch between non/secure mode in ZK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724532 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 00:33:34 +00:00
Dennis Gove f6ede1b42f SOLR-7525: Add ComplementStream and IntersectStream to the Streaming API and Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724468 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 17:41:41 +00:00
Mark Robert Miller d25c982e0d SOLR-7064: ConcurrentUpdateSolrClient should only close it's httpclient if it created it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724288 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 17:17:47 +00:00
Noble Paul 4fa6c2fe47 implemented equals()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724170 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 06:35:58 +00:00
Varun Thacker e47edb0ebd SOLR-8476: Removed Persist action and minor cleanups to CoreAdminHandlerm also moved the CHANGES entry to the correct section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724074 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 16:13:35 +00:00
Dennis Gove fe4d702f83 SOLR-8479: Add JDBCStream to Streaming API and Streaming Expressions for integration with external data sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723749 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 15:56:33 +00:00
Uwe Schindler 965100a167 SOLR-8453: Fix raw socket test to correctly use HTTP spec: headers in HTTP are US-ASCII, body's Content-Length is number of bytes (not chars!), PrintWriter swallows Exceptions and was not needed (Forbidden apis found the bug, but fix was incorrect)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723660 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 08:07:43 +00:00
Dennis Gove ac754fcd59 SOLR-8485: SelectStream now properly handles non-lowercase and/or quoted select field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723648 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 01:55:25 +00:00
Tomas Eduardo Fernandez Lobbe 819c59169b SOLR-8453: Fix precommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723646 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 00:45:03 +00:00
Mark Robert Miller 098e12e21e SOLR-8450: Our HttpClient retry policy is too permissive.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723616 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 19:43:09 +00:00
Mark Robert Miller 53c72a9ebd SOLR-8451: We should not call method.abort in HttpSolrClient or HttpSolrCall#remoteQuery and HttpSolrCall#remoteQuery should not close streams.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723615 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 19:37:49 +00:00
Yonik Seeley fa640e6b69 SOLR-8453: test HTTP client error responses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723613 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 19:22:23 +00:00
Shalin Shekhar Mangar 96360c78c4 SOLR-7339: Revert Jetty 9.3 upgrade
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723604 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 17:51:57 +00:00
Joel Bernstein 26a1d1ea34 SOLR-7535: Add UpdateStream to Streaming API and Streaming Expression
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722990 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 00:32:29 +00:00
Noble Paul a2a463d787 SOLR-7462: AIOOBE in RecordingJSONParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722218 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 18:45:38 +00:00
Shalin Shekhar Mangar 7bfb2a2949 SOLR-8220: Read field from DocValues for non stored fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721795 13f79535-47bb-0310-9956-ffa450edef68
2015-12-27 10:27:00 +00:00
Shai Erera 8a9a8e2363 SOLR-8454: Improve logging by ZkStateReader and clean up dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721393 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 13:28:27 +00:00
Noble Paul 0afacabbcd SOLR-8422: When authentication enabled, requests fail if sent to a node that doesn't host
the collection

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721142 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 12:37:27 +00:00
Joel Bernstein 60a5da24eb SOLR-8443: Change /stream handler http param from stream to expr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720849 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 21:38:17 +00:00
James Dyer ade2f7e077 SOLR-4280: Allow specifying "spellcheck.maxResultsForSuggest" as a percentage of filter query results
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720636 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 19:40:24 +00:00
Mark Robert Miller fe7ef38b2e SOLR-8279: Add a new test fault injection approach and a new SolrCloud test that stops and starts the cluster while indexing data and with random faults.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720613 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 17:08:10 +00:00
Shalin Shekhar Mangar 180d7828a7 SOLR-8426: Enable /export, /stream and /sql handlers by default and remove them from example configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720468 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 22:10:49 +00:00
Joel Bernstein 352ae7ed5f SOLR-8191: Gaurd against CloudSolrStream close method NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720460 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 21:41:56 +00:00
Dennis Gove 1fc12ffd41 SOLR-7904: Add StreamExpression Support to FacetStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719838 13f79535-47bb-0310-9956-ffa450edef68
2015-12-13 21:21:52 +00:00
Joel Bernstein 60dca1b4f9 SOLR-8337: Add ReduceOperation and wire it into the ReducerStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719246 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 02:28:25 +00:00
Joel Bernstein e04981edc7 SOLR-8266: Remove Java Serialization from the Streaming API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718947 13f79535-47bb-0310-9956-ffa450edef68
2015-12-09 19:52:28 +00:00
Noble Paul 0ac7756852 SOLR-8373: KerberosPlugin: Using multiple nodes on same machine leads clients to
fetch TGT for every request

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718852 13f79535-47bb-0310-9956-ffa450edef68
2015-12-09 13:21:56 +00:00
Varun Thacker 0e886c19fa SOLR-8131: Make ManagedIndexSchemaFactory the default schemaFactory when luceneMatchVersion >= 6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718258 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 07:32:41 +00:00
Shalin Shekhar Mangar 30c0cfc262 SOLR-8366: ConcurrentUpdateSolrClient attempts to use response's content type as charset encoding for parsing exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717978 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 15:12:08 +00:00
Shalin Shekhar Mangar 0618b18f7b SOLR-8339: Refactor SolrDocument and SolrInputDocument to have a common base abstract class called SolrDocumentBase. Deprecated methods toSolrInputDocument and toSolrDocument in ClientUtils.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717654 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 15:56:17 +00:00
Anshum Gupta 6caaa0c454 SOLR-8330: Standardize and fix logger creation and usage so that they aren't shared across source files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717590 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 09:22:22 +00:00
Shalin Shekhar Mangar 6cbe8f2dff SOLR-7339: Disabling testUpdateField until we can fix the underlying issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717512 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 20:12:19 +00:00
David Wayne Smiley ce0363c0ad SOLR-8180: jcl-over-slf4j is officially a solrj/solr dependency now; not marked optional in a POM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717481 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 18:12:00 +00:00
Joel Bernstein 23c73d8ff8 SOLR-8179: SQL JDBC - DriverImpl loadParams doesn't support keys with no values in the connection string
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716198 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 16:27:24 +00:00
Erik Hatcher 255ff56d4e SOLR-8307: move EmptyEntityResolver to another package to avoid conflict with solr-core and javadoc generation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716007 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:25:00 +00:00
Erik Hatcher 8090380ecd Fix XXE vulnerability in MBeansHandler diff feature
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715863 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 16:05:45 +00:00
Alan Woodward 23dabd19ff SOLR-8194: Improve error reporting of nulls in UpdateRequest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715749 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 09:50:03 +00:00
Uwe Schindler f4fe17cce8 SOLR-5971: Fix error 'Illegal character in query' when proxying request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715615 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 09:56:22 +00:00
Chris M. Hostetter cae3ddd5c7 SOLR-8271: Change implicit default Similarity to use SchemaSimilarityFactory when luceneMatchVersion >= 6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715393 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 17:00:34 +00:00
Alan Woodward 0f3aecfdff SOLR-8302: SolrResourceLoader takes a Path for its instance directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715342 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 12:12:05 +00:00
Christine Poerschke b7195573ec SOLR-8283: factor out SortSpecParsing[Test] from QueryParsing[Test]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715049 13f79535-47bb-0310-9956-ffa450edef68
2015-11-18 19:48:40 +00:00
Dennis Gove 1161f2d018 SOLR-7669: Add SelectStream and Tuple Operations to the Streaming API and Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713967 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 04:37:37 +00:00
Dennis Gove 19715d10ef SOLR-8188: Adds Hash and OuterHash Joins to the Streaming API and Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713950 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 00:08:45 +00:00
Chris M. Hostetter da18097f85 SOLR-8270: Change implicit default Similarity to use BM25 when luceneMatchVersion >= 6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713902 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 17:48:40 +00:00
Dennis Gove 5c5812940a SOLR-7584: Adds Inner and LeftOuter Joins to the Streaming API and Streaming Expressions (Dennis Gove, Corey Wu)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713753 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 01:45:04 +00:00
Dennis Gove cad6188624 SOLR-8268: StatsStream now implements the Expressible interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713749 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 00:50:34 +00:00
Dennis Gove 4f00eb8300 SOLR-8198: Change ReducerStream to use StreamEqualitor instead of StreamComparator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713204 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 03:05:13 +00:00
Dennis Gove 8309dc9b32 SOLR-7938: MergeStream now supports merging more than 2 streams together
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713190 13f79535-47bb-0310-9956-ffa450edef68
2015-11-07 22:08:56 +00:00
Chris M. Hostetter ecf410f413 SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712979 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 15:45:50 +00:00
Noble Paul 0af209af06 SOLR-7569: A collection API called FORCELEADER when all replicas in a shard are down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712851 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 19:25:15 +00:00
Chris M. Hostetter d207e8c39a SOLR-8239: reverting r1712840 from trunk -- backport to 5x was more complicated then I expected because aparently DefaultSimilarity deprecation with ClassicSimilarity was never backported? want to clarify/resolve that before moving forward here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712845 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 18:44:13 +00:00