Commit Graph

1395 Commits

Author SHA1 Message Date
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