Commit Graph

3158 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar ba7698e4e7 SOLR-9117: The first SolrCore is leaked after reload
(cherry picked from commit d1202a8)
2016-05-18 02:04:15 +05:30
jbernste b1b9015290 SOLR-9118: Update CHANGES.txt
Conflicts:
	solr/CHANGES.txt
2016-05-17 14:21:11 -04:00
Alan Woodward 8de89081e6 SOLR-9113: Improve state watcher API 2016-05-17 10:45:34 +01:00
Uwe Schindler d01bc2c78f SOLR-9115: Get rid of javax.xml.bind.DatatypeConverter in Solr's SimplePostTool 2016-05-16 18:02:40 +02:00
Alan Woodward dd23fa4015 SOLR-9106: Cache cluster properties on ZkStateReader 2016-05-14 10:14:45 +01:00
Steve Rowe c9f7535707 Add version 6.0.1 2016-05-13 18:41:19 -04:00
Alan Woodward 06d2f6368d SOLR-8323: Add CollectionStateWatcher API 2016-05-13 21:43:43 +01:00
David Smiley 9d826ffa2f SOLR-9080 SOLR-9085: Fix date math before the year 1582.
note: DateMathParser no longer needs a Locale
(cherry picked from commit 4193e60)
2016-05-13 10:05:37 -04:00
Alan Woodward 18f54d6f77 SOLR-9072: Move morphline-core zk tests to SolrCloudTestCase 2016-05-13 14:40:17 +01:00
Chris Hostetter 1d7094c931 SOLR-8970: Change SSLTestConfig to use a keystore file that is included as a resource in the test-framework jar so users subclassing SolrTestCaseJ4 don't need to preserve magic paths
(cherry picked from commit 76063648ae)
2016-05-11 16:35:23 -07:00
Jan Høydahl 84ffc4d690 SOLR-9105: Add changes entry. This closes #39
(cherry picked from commit 32726c3)
2016-05-11 23:37:59 +02:00
Christine Poerschke 574a6a9d65 SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor. 2016-05-11 15:30:16 +01:00
Erick Erickson 03a06bb3aa SOLR-9083: Remove deprecated <types> and <fields> from schemas
(cherry picked from commit 5341918)
2016-05-10 07:06:51 -07:00
Erick Erickson 73b4defc07 SOLR-8467: CloudSolrStream and FacetStream should take a SolrParams object rather than a Map<String, String> to allow more complex Solr queries to be specified 2016-05-09 12:48:49 -07:00
Mikhail Khludnev 75a84b7d2d SOLR-8208: [subquery] document transformer executes separate requests per result document. 2016-05-09 19:48:47 +03:00
Varun Thacker 8e999d1a96 SOLR-7117: AutoAddReplicas should have a cluster wide property for controlling number of cores hosted on each node 2016-05-09 00:09:36 +05:30
yonik 30dd6dd5bc SOLR-9026: add facet telemetry for legacy facets 2016-05-07 18:47:59 -04:00
Kevin Risden 4d15b9fa08 SOLR-8458: Add Streaming Expressions tests for parameter substitution 2016-05-06 09:38:40 -05:00
Kevin Risden 219ddbb998 SOLR-8184: Negative tests for JDBC Connection String 2016-05-06 08:58:13 -05:00
Dennis Gove d95a91a9cc SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the incoming streams, eg. fieldA=fieldB 2016-05-05 20:31:58 -04:00
jbernste 8b56f67adb SOLR-8972: Update CHANGES.txt 2016-05-05 17:06:31 -04:00
Shalin Shekhar Mangar 855d57bf10 SOLR-9036: Solr slave is doing full replication (entire index) of index after master restart
(cherry picked from commit 51b1319)
2016-05-05 21:00:55 +05:30
Shalin Shekhar Mangar 29f6997502 SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter
(cherry picked from commit c2662f2)
2016-05-05 15:57:57 +05:30
Dennis Gove f341002413 SOLR-9064: Adds an explanation of the incoming stream to an UpdateStream's explanation 2016-05-04 17:59:56 -04:00
Jan Høydahl b6b6d246ae SOLR-9053: Fix attribution, apply the code refactor part from mdrob's patch
(cherry picked from commit b6f8c65)
2016-05-04 23:22:16 +02:00
Alan Woodward 7a8d4947a5 SOLR-9065: Migrate SolrJ tests to SolrCloudTestCase 2016-05-04 20:05:12 +01:00
Kevin Risden eb1da08d54 SOLR-9066: Make CountMetric return long instead of double 2016-05-04 11:08:18 -05:00
Shalin Shekhar Mangar 451feb0f8e SOLR-9014: Deprecate and reduce usage of ClusterState methods which may make calls to ZK via the lazy collection reference
(cherry picked from commit 922265b)
2016-05-04 20:45:02 +05:30
Steve Rowe a5e2be0444 SOLR-8792: ZooKeeper ACL support fixed 2016-05-03 18:59:19 -04:00
jbernste f588374bcc SOLR-9059: Update CHANGES.txt 2016-05-03 13:28:03 -04:00
markrmiller 95c5d92f10 SOLR-8933: Solr should not close container streams. 2016-05-03 10:23:37 -04:00
Jan Høydahl 69675126c6 SOLR-9053: Upgrade commons-fileupload to 1.3.1, fixing a potential vulnerability
(cherry picked from commit 0ebe6b0)
2016-05-03 13:42:29 +02:00
Noble Paul aa6ba7f3be SOLR-9049: RuleBasedAuthorizationPlugin supports regex in param values eg: "command" : "REGEX:(i?)create" 2016-05-03 16:01:24 +05:30
David Smiley dac044c94a SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE
(cherry picked from commit 70bcd56)
2016-05-02 22:46:06 -04:00
jbernste e5da501dd2 remove tabs from CHANGES.txt
Conflicts:
	solr/CHANGES.txt
2016-05-02 12:14:23 -04:00
jbernste df72df1c58 SOLR-8986, SOLR-8925, SOLR-9027: Update CHANGES.txt
Conflicts:
	solr/CHANGES.txt
2016-05-02 12:14:23 -04:00
Dennis Gove fc2200e4f9 SOLR-8918: Adds Streaming to the admin page under the collections section
Includes ability to see graphically the expression explanation
2016-05-02 08:37:01 -04:00
Dennis Gove d969de41c1 SOLR-9009: Adds ability to get an Explanation of a Streaming Expression
Conflicts:
	solr/CHANGES.txt
2016-05-02 08:36:46 -04:00
Gregory Chanan 67ebfb1cc2 SOLR-9047: zkcli should allow alternative locations for log4j configuration 2016-04-29 14:16:38 -07:00
Chris Hostetter 7aecf344b1 SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested
(cherry picked from commit 791d1e7)

Conflicts:
	solr/core/src/test/org/apache/solr/cloud/SSLMigrationTest.java
	solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java
	solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
	solr/test-framework/src/java/org/apache/solr/util/SSLTestConfig.java
2016-04-29 10:08:41 -07:00
yonik 21aea6f606 SOLR-9034: fix atomic updates for copyField w/ docValues 2016-04-28 15:53:30 -04:00
Noble Paul 6b7e965b85 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 2016-04-28 15:40:00 +05:30
Uwe Schindler 9e34d3137f SOLR-9046: Fix solr.cmd that wrongly assumes Jetty will always listen on 0.0.0.0 2016-04-28 06:10:00 +02:00
Christine Poerschke ec071e2f84 SOLR-9037: replace multiple "/replication" strings with one static constant 2016-04-27 17:19:34 +01:00
Shai Erera 95322605b8 SOLR-9016: Fix SolrIdentifierValidator to not accept empty identifiers 2016-04-26 20:59:00 -07:00
Noble Paul 8162ba4534 SOLR-9041: 'core-admin-read' and 'core-admin-edit' are well known permissions 2016-04-26 19:26:44 +05:30
Scott Blum 89857653ca SOLR-9029: fix rare ZkStateReader visibility race during collection state format update 2016-04-25 21:21:02 -04:00
Kevin Risden d914ec4a67 SOLR-9020: Implement StatementImpl/ResultSetImpl get/set fetch* methods and proper errors for traversal methods 2016-04-20 14:50:24 -05:00
markrmiller b111bfda42 SOLR-8913: When using a shared filesystem we should store data dir and tlog dir locations in the cluster state. 2016-04-20 12:07:56 -04:00
Kevin Risden 6276fe5ec7 SOLR-8809: Implement Connection.prepareStatement 2016-04-20 10:03:54 -05:00
Scott Blum cdf1f5ab88 SOLR-8929: Add an idea module for solr/server to enable launching start.jar 2016-04-19 21:16:38 -04:00
Scott Blum 7c356bad06 SOLR-8973: Zookeeper frenzy when a core is first created. 2016-04-19 20:57:42 -04:00
Dennis Gove d68b090dd5 SOLR-9015: Adds SelectStream as a default function in the StreamHandler 2016-04-19 20:50:00 -04:00
Chris Hostetter fdcd17bef2 SOLR-8971: Preserve root cause when wrapping exceptions 2016-04-19 14:29:30 -07:00
Chris Hostetter 10338a934f SOLR-8990: Fix top term links from schema browser page to use {!term} parser 2016-04-19 11:17:24 -07:00
Chris Hostetter 7be7e8beb9 CHANGES.txt corrections - new features go in the New Features section (SOLR-8782, SOLR-8765, SOLR-8842) 2016-04-19 09:43:28 -07:00
anshum 55de1ba539 SOLR-8983: Cleanup clusterstate in case of a failed CREATE collection call 2016-04-18 12:25:48 -07:00
Timothy Potter 57270a5fb5 SOLR-9007: remove mention of managed_schema_configs 2016-04-18 11:49:42 -06:00
Noble Paul 489acdb509 SOLR-8349: Allow sharing of large in memory data structures across cores 2016-04-18 16:13:53 +05:30
Varun Thacker 3b7325c529 SOLR-9004: Fix name field type definition in films example 2016-04-17 23:52:26 +05:30
Varun Thacker ece296224c SchemaManager waits correctly for replicas to be notified of a new change 2016-04-17 21:58:21 +05:30
David Smiley e1a5665fee SOLR-8946: fix bin/post stdin detection. faulty on Ubuntu; maybe others
(cherry picked from commit 7833f7f)
2016-04-15 22:07:58 -04:00
Christine Poerschke d69274b5d6 SOLR-8938: add -x as short-form of --excluderegex ZkCLI arg 2016-04-15 16:22:45 +01:00
Noble Paul 6c74669375 SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint 2016-04-15 13:25:10 +05:30
Dennis Gove 020f15f437 SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:46:48 -04:00
David Smiley f488dfac9c SOLR-8937: bin/post (SimplePostTool) should tell JDK to stream stdin instead of fully buffer
(cherry picked from commit 037a403)
2016-04-14 13:53:00 -04:00
Timothy Potter af8a962417 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:25:14 -07:00
Anshum Gupta 5baf311c38 SOLR-8976: Add SolrJ support for REBALANCELEADERS Collections API 2016-04-13 15:58:04 -07:00
markrmiller bf984af6f0 SOLR-7729: ConcurrentUpdateSolrClient ignores the collection parameter in some methods. 2016-04-13 16:12:18 -04:00
markrmiller fe85885868 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:56:49 -04:00
Varun Thacker 168e2d8406 SOLR-8967: UI should not show the replication tab in the core selector panel in cloud mode 2016-04-11 18:38:33 +05:30
yonik 301e178681 SOLR-8922: optimize DocSetCollector to produce less garbage 2016-04-09 19:10:43 -04:00
Anshum Gupta f479f16d3a SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-08 13:14:27 -07:00
Christine Poerschke 835dc33102 SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 15:12:18 +01:00
Shalin Shekhar Mangar 6c7487351f SOLR-8948: OverseerTaskQueue.containsTaskWithRequestId encounters json parse error if a SolrResponse node is in the overseer queue
(cherry picked from commit 4205b1c)
2016-04-06 11:57:27 +05:30
Gregory Chanan 2b0963ee38 SOLR-8892: Allow SolrInfoMBeans to return different statistics for /jmx vs web ui calls 2016-04-05 12:07:18 -07:00
David Smiley 4cfd33f743 SOLR-8875: Fix null clusterState from ZkStateWriter. Revert my sanity check asserts in Overseer.
(cherry picked from commit 3bbf8aa)
2016-04-05 14:18:27 -04:00
markrmiller d9c3c7e6f0 SOLR-8855: The HDFS BlockDirectory should not clean up it's cache on shutdown. 2016-04-01 15:51:34 -04:00
markrmiller 461c9b4fef SOLR-8856: Do not cache merge or 'read once' contexts in the hdfs block cache. 2016-04-01 10:26:54 -04:00
jbernste 586afc3db1 SOLR-8888: Update CHANGES.txt 2016-03-31 20:59:19 -04:00
David Smiley 44e0ac3856 SOLR-8903: Move SolrJ DateUtil to contrib/extraction as ExtractionDateUtil.
And removed obsolete methods.
(cherry picked from commit 5e5fd66)
2016-03-30 15:07:52 -04:00
David Smiley 72f5eac2c5 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.
(cherry picked from commit 94c0423) (cherry picked from commit 39932f5)
2016-03-30 14:37:55 -04:00
Jan Høydahl f9a4deb7be SOLR-8870: AngularJS support for qt style handlers, and fix slash encoding bug to support Query panel through proxy
(cherry picked from commit aec11eb)
2016-03-30 12:58:44 +02:00
Chris Hostetter b8c0ff66f9 SOLR-445: Merge remote-tracking branch 'refs/remotes/origin/branch_6x' into branch_6x
(picking up mid backport conflicts)
2016-03-25 14:07:06 -07:00
Chris Hostetter 5b6eacb80b 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 13:13:50 -07:00
Ryan McKinley 9cbaa028dc Merge branch 'branch_6x' of https://git-wip-us.apache.org/repos/asf/lucene-solr into branch_6x 2016-03-25 12:36:30 -07:00
Ryan McKinley 8254724bb1 SOLR-8902: Make sure ReturnFields only returns the requested fields 2016-03-25 12:22:44 -07:00
yonik ca374d9476 SOLR-8865: Real-time get sometimes fails to retrieve stored fields from docValues 2016-03-25 10:18:58 -04:00
yonik b978666d57 Fix StrField.toObject and toExternal to work with docValue IndexableField instances, optimize createFields 2016-03-23 20:44:22 -04:00
Kevin Risden 2b13210c3d SOLR-8810: Implement Connection.setReadOnly, Statement.set/getFetchSize, ResultSet.getType 2016-03-23 17:33:12 -05:00
Kevin Risden 39270d9df8 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:50:22 -05:00
yonik 82a537795f SOLR-8886: fix TrieField.toObject(IndexableField) for docValues 2016-03-23 12:40:05 -04:00
Gregory Chanan dfab0a60f8 SOLR-8869: Optionally disable printing field cache entries in SolrFieldCacheMBean 2016-03-21 11:36:52 -07:00
markrmiller b3136e5459 SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is hard coded to 256. 2016-03-21 14:11:19 -04:00
Alan Woodward 451ff488af SOLR-8837: Fix duplicate election node detection 2016-03-21 17:40:19 +00:00
Steve Rowe 2668ff5abb SOLR-8082: Can't query against negative float or double values when indexed='false' docValues='true' multiValued='false' 2016-03-20 16:56:54 -04:00
yonik c195395d34 SOLR-8867: fix frange/FunctionValues.getRangeScorer to not match missing values, getRangeScorer refactored to take LeafReaderContext 2016-03-17 16:59:24 -04:00
Noble Paul 6f189fa4be typos fixed 2016-03-18 00:48:58 +05:30
Noble Paul 54e827e9b6 SOLR-8842: security rules made more foolproof by asking the requesthandler about the well known
permission name.
  The APIs are also modified to ue 'index' as the unique identifier instead of name.
  Name is an optional attribute
  now and only to be used when specifying well-known permissions
2016-03-17 23:36:18 +05:30
David Smiley 4ee908eb80 SOLR-8866: UpdateLog now throws an error if it can't serialize a field value
(cherry picked from commit a22099a)
2016-03-17 13:23:38 -04:00