Commit Graph

4715 Commits

Author SHA1 Message Date
Noble Paul 9c7b8564d8 SOLR-12806: use autoscaling policies with strict=false to prioritize node allocation 2018-10-16 16:56:51 +11:00
Christine Poerschke 9c8ffabfe3 SOLR-12780: Add support for Leaky ReLU and TanH activations in contrib/ltr NeuralNetworkModel class.
(Kamuela Lau, Christine Poerschke)
2018-10-12 17:08:35 +01:00
Joel Bernstein d48f22c1ad SOLR-12851: Update CHANGES.txt 2018-10-11 11:19:57 -04:00
Jan Høydahl 80011d669a SOLR-12620: Remove the Admin UI Cloud -> Graph (Radial) view 2018-10-10 21:54:34 +02:00
Andrzej Bialecki 23e22e6460 SOLR-12729: SplitShardCmd should lock the parent shard to prevent parallel splitting requests. 2018-10-09 21:30:10 +02:00
Cao Manh Dat a37a213975 SOLR-11812: Remove backward compatibility of old LIR implementation in 8.0 2018-10-09 16:20:49 +07:00
Noble Paul b4d9b25f44 SOLR-12843: Implement a MultiContentWriter in SolrJ to post multiple files/payload at once 2018-10-09 17:44:40 +11:00
Shalin Shekhar Mangar dbed8bafe6 SOLR-12739: Autoscaling policy framework is now used as the default strategy to select the nodes on which new replicas or replicas of new collections are created.
Previously, the maxShardsPerNode parameter was not allowed on collections when autoscaling policy was configured. Also if an autoscaling policy was configured then the default was to set an unlimited maxShardsPerNode automatically. Now the maxShardsPerNode parameter is always allowed during collection creation and maxShardsPerNode should be set correctly (if required) regardless of whether autoscaling policies are in effect or not. The default value of maxShardsPerNode continues to be 1 as before. It can be set to -1 during collection creation to fall back to the old behavior of unlimited maxShardsPerNode when using autoscaling policy. This patch also fixes PolicyHelper to find the free disk space requirements of a new replica from the leader only if said leader node is alive.
2018-10-09 12:10:28 +05:30
Joel Bernstein df07a43b56 SOLR-12749: Update CHANGES.txt 2018-10-08 13:05:26 -04:00
David Smiley 49285e8423 Solr CHANGES.txt: forgot leading "*" 2018-10-07 23:17:33 -04:00
Jason Gerlowski 367bdf7f74 SOLR-12803: Ensure CUSC routes docs to right cores
ConcurrentUpdateSolrClient can batch together many documents when making
an indexing request to Solr.  When adding an update request to the
current batch being made, it checks that the query-parameters of the
docs being added match those already in the batch.  But prior to this
commit it never checked that the collections/cores were the same.

This could result in documents being sent to the wrong collection if the
same client is used to index documents to two different
cores/collections simultaneously.

This commit addresses this problem, ensuring that documents aren't added
to a batch directed at a different core/collection.
2018-10-07 10:08:50 -04:00
David Smiley e2b8beccb0 SOLR-12782: UninvertingReader avoids FieldInfo creation.
Wrapping is now a bit more lightweight: Does not create FieldInfo for fields that
can't be uninverted (saves mem) and can avoid wrapping the reader altogether if there's nothing to uninvert.
IndexSchema.getUninversionMap refactored to getUninversionMapper and no longer merges FieldInfos.
2018-10-05 20:40:39 -07:00
Shalin Shekhar Mangar eb47099ee2 SOLR-12836: ZkController creates a cloud solr client with no connection or read timeouts.
This changes ZkController to use the http client created by the update shard handler instead of creating a custom one.
2018-10-05 15:18:11 +05:30
Shalin Shekhar Mangar ace0db7a0a SOLR-12835: Document statistics exposed by the Query Result Cache when maxRamMB is configured 2018-10-05 08:20:31 +05:30
Jan Høydahl 5fb384c989 SOLR-12814: Metrics history causing "HttpParser URI is too large >8192" when many collections
This fixes #461
2018-10-04 18:32:38 +02:00
Andrzej Bialecki 452c2dabf0 SOLR-12815: Implement maxOps limit for IndexSizeTrigger. 2018-10-04 12:48:25 +02:00
Shalin Shekhar Mangar 152fd966a7 SOLR-12827: Migrate cluster wide defaults syntax in cluster properties to a nested structure
The cluster wide defaults structure has changed from {collectionDefaults: {nrtReplicas : 2}} to {defaults : {collection : {nrtReplicas : 2}}}.  The old format continues to be supported and can be read from ZK as well as written using the V2 set-obj-property syntax but it is deprecated and will be removed in Solr 9. We recommend that users change their API calls to use the new format going forward.
2018-10-04 16:12:55 +05:30
Tomas Fernandez Lobbe 46f753d7c6 SOLR-12767: Always include the achieved rf in the response
This commit deprecates the min_rf parameter. Solr now always includes the achieved replication
factor in the update requests (as if min_rf was always specified). Also, reverts the changes
introduced in SOLR-8034, replicas that don't ack an update will have to recover to prevent
inconsistent shards.
2018-10-03 09:40:15 -07:00
Noble Paul d8e40796e2 SOLR-12822: /autoscaling/suggestions to include suggestion to add-replica for lost replicas 2018-10-03 23:37:58 +10:00
Andrzej Bialecki abace2987a Fix the CHANGES entry - this is applicable only to 8.0 codebase. 2018-10-03 14:11:43 +02:00
Andrzej Bialecki eba7bedadf SOLR-12725: ParseDateFieldUpdateProcessorFactory should reuse ParsePosition. 2018-10-03 13:59:02 +02:00
Shalin Shekhar Mangar 84683b6aa0 SOLR-12750: Migrate API should lock the collection instead of shard 2018-10-03 16:24:26 +05:30
Shalin Shekhar Mangar 65105aa81b SOLR-12648: Autoscaling framework based replica placement is not used unless a policy is specified or non-empty cluster policy exists 2018-10-03 15:52:51 +05:30
David Smiley fe844c739b LUCENE-8513: Remove MultiFields.getFields
SlowCompositeReaderWrapper now works with MultiTerms directly
2018-10-01 10:39:12 -04:00
David Smiley 964cc88cee SOLR-12593: remove date parsing from extract contrib
* added "ignored_*" to the default configSet
* Updated Ref Guide info on Solr Cell to demonstrate usage without using the techproducts configSet

Closes #438
2018-09-28 16:50:11 -04:00
Charles Sanders 9481c1f623 SOLR-5163: edismax now throws an exception when qf refers to a nonexistent field 2018-09-27 15:53:26 -04:00
Peter Somogyi 044bc2a485 SOLR-12652: Remove SolrMetricManager.overridableRegistryName() 2018-09-27 15:39:55 -04:00
Shalin Shekhar Mangar c587410f99 SOLR-12756: Refactor Assign and extract replica placement strategies out of it.
Now, assignment is done with the help of a builder class instead of calling a method with large number of arguments. The number of special cases that had to be handled have been cut down as well.
2018-09-27 16:15:38 +05:30
Cao Manh Dat 667b8299e6 SOLR-12805: Store previous term (generation) of replica when start recovery process 2018-09-26 10:35:44 +07:00
noble 3f2975c27c SOLR-11522: /autoscaling/suggestions now include rebalance options as well even if there are no violations 2018-09-25 00:34:21 +10:00
Erick Erickson 95cc6f4f76 SOLR-12776: Setting of TMP in solr.cmd causes invisibility of Solr to JDK tools 2018-09-23 16:03:30 -07:00
Varun Thacker 60569fbe4e SOLR-11836: Move CHANGES entry to the 7.6 section 2018-09-21 17:01:37 -07:00
Shalin Shekhar Mangar 4bcace571e SOLR-9317: ADDREPLICA command should be able to add more than one replica to a collection,shard at a time.
The API now supports 'nrtReplicas', 'tlogReplicas', 'pullReplicas' parameters as well 'createNodeSet' parameter. As part of this change, the CREATESHARD API now delegates placing replicas entirely to the ADDREPLICA command and uses the new parameters to add all the replicas in one API call.
2018-09-21 15:12:21 +05:30
Steve Rowe 7d0a7782fa SOLR-12771: add CHANGES entry 2018-09-17 15:02:10 -04:00
Andrzej Bialecki 36eae57163 SOLR-12765: Incorrect format of JMX cache stats. 2018-09-17 15:33:16 +02:00
David Smiley ac7969e3c0 SOLR-6280: CollapseQParser now throws an error when pointing to a multi-valued field. 2018-09-17 09:08:54 -04:00
Erick Erickson b2b597b038 SOLR-12773: Fix typos widely spread around codebase 2018-09-16 09:46:20 -07:00
Cassandra Targett 39733cbf5f SOLR-12551: fix Tika version in list of major components in CHANGES.txt 2018-09-14 08:55:53 -05:00
Tomas Fernandez Lobbe 4a5b914eaa SOLR-12766: Improve backoff for internal retries
When retrying internal update requests, backoff only once for the full batch of retries
instead of for every request.
Make backoff linear with the number of retries
2018-09-12 21:11:34 -07:00
David Smiley 6e8c05f6fe SOLR-12361: ref guide changes & CHANGES.txt organization 2018-09-12 17:34:28 -04:00
Varun Thacker 2b553f03be SOLR-11836: add all contributors for the patch 2018-09-11 12:37:50 -07:00
Varun Thacker d35d2063a8 SOLR-11836: FacetStream works with bucketSizeLimit of -1 which will fetch all the buckets 2018-09-11 10:58:04 -07:00
Anshum Gupta a1b6db26db SOLR-12762: Fix javadoc for SolrCloudTestCase.clusterShape() method and add a method that validates only against Active slices while testing 2018-09-10 15:18:32 -07:00
Jim Ferenczi 3a71bf39d1 Add 7.6.0 version 2018-09-10 16:05:53 +02:00
Jim Ferenczi 1f2b344def Revert "Add version 7.5.1"
This reverts commit 2ffcb878b4.
2018-09-10 15:56:05 +02:00
Jim Ferenczi 2ffcb878b4 Add version 7.5.1 2018-09-10 09:19:09 +02:00
Erick Erickson 3b62f23f72 SOLR-12055: Enable async logging by default - rollback 2018-09-07 22:51:50 -07:00
Steve Rowe 2c88922998 SOLR-8742: In HdfsDirectoryTest replace RAMDirectory usages with ByteBuffersDirectory. 2018-09-07 13:19:01 -04:00
David Smiley 21d130c3ed SOLR-12357: TRA preemptiveCreateMath option.
Simplified test utility TrackingUpdateProcessorFactory.
Reverted some attempts the TRA used to make in avoiding overseer communication (too complicated).
Closes #433
2018-09-06 23:38:44 -04:00
Erick Erickson 9e04375dc1 SOLR-12732: TestLogWatcher failure on Jenkins 2018-09-06 19:25:33 -07:00