Commit Graph

31099 Commits

Author SHA1 Message Date
Noble Paul 761f8aaf79 SOLR-12740: adding a link 2018-10-17 00:22:54 +11:00
Noble Paul f1a30bfb00 SOLR-12792: extract test data into separate files in autoscaling tests 2018-10-16 19:11:08 +11:00
Shalin Shekhar Mangar aa0a5289e6 SOLR-12739: Clear all collections in TestCollectionStateWatchers setup so that the collections created by test methods are spread evenly in the cluster. 2018-10-16 12:14:22 +05:30
Noble Paul 8d3810df54 SOLR-12740: migration docs 2018-10-16 17:38:51 +11:00
Noble Paul 9c7b8564d8 SOLR-12806: use autoscaling policies with strict=false to prioritize node allocation 2018-10-16 16:56:51 +11:00
David Smiley 306065fca8 LUCENE-12357: Update ref guide notes 2018-10-15 23:38:09 -04:00
Tim Underwood 5202a713ba Java 9+ GC Logging filesize parameter should be 20M instead of 20000
JEP 158 (https://openjdk.java.net/jeps/158) says the filesize parameter is the “file size in kb” however that appears to not be the case since when it is set to a value of 20000 you end up with GC logs that are only 20000 bytes in length.  Setting the value to 20M produces the desired result of GC log files that are 20MB in size.
2018-10-15 12:52:40 -07:00
Joel Bernstein 73a413cd85 SOLR-12862: Fix TestLang 2018-10-15 15:47:03 -04:00
Joel Bernstein 6c0fbe5a9d SOLR-12862: Add log10 Stream Evaluator and allow the pow Stream Evaluator to accept a vector of exponents 2018-10-15 15:47:03 -04:00
Christine Poerschke 1ccd555862 Fix couple of typos. 2018-10-15 15:08:17 -04:00
Dawid Weiss d7fd82c0f8 LUCENE-8528: we can't have random outputs on input in a test with fixed assertions (test bug). 2018-10-15 13:53:08 +02:00
iverase a312c0db05 Add entry in CHANGES.txt 2018-10-15 09:00:09 +02:00
iverase a5665d8ae7 LUCENE-8522: throw InvalidShapeException when constructing a polygon
and all points are coplanar.
2018-10-15 08:51:34 +02:00
Erick Erickson 6c5df58b5a SOLR-12028: BadApple and AwaitsFix annotations usage 2018-10-14 21:13:33 -04:00
Alan Woodward e14bacfac4 LUCENE-8523: Fix javadocs in JapaneseNumberFilterFactory 2018-10-14 15:18:14 +01:00
Jason Gerlowski 6d1b2e2f38 SOLR-8808: Add null/empty check to SolrClient.deleteByIds 2018-10-13 22:15:36 -04: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
Jason Gerlowski 42ac07d11b SOLR-12565: Add SolrJ snippet to 'Using ZooKeeper to manage config' ref-guide page 2018-10-11 14:30:43 -04:00
Joel Bernstein d48f22c1ad SOLR-12851: Update CHANGES.txt 2018-10-11 11:19:57 -04:00
Joel Bernstein a0bb501772 SOLR-12851: Improvements and fixes to let and select Streaming Expressions 2018-10-11 10:43:57 -04:00
Jim Ferenczi c87778c504 LUCENE-8526: Add javadocs in CJKBigramFilter explaining the behavior of the StandardTokenizer on Hangul syllables. 2018-10-11 13:49:14 +01:00
Shalin Shekhar Mangar 971a0e3f4a SOLR-12739: Use legacy assignment in AutoAddReplicasPlanActionTest 2018-10-11 08:58:47 +05:30
Jan Høydahl 80011d669a SOLR-12620: Remove the Admin UI Cloud -> Graph (Radial) view 2018-10-10 21:54:34 +02:00
Nicholas Knize 4cfa876d9d LUCENE-8496: Fix BKDWriter to use writeField1Dim when numDataDims is set to 1 2018-10-10 09:35:19 -05:00
Shalin Shekhar Mangar 095707d547 SOLR-12739: Remove unused import 2018-10-10 18:18:29 +05:30
Shalin Shekhar Mangar 50d1c7b481 SOLR-12739: Release the policy session as soon as we're done with the computation.
This fixes the CollectionsAPIDistributedZkTest.testCoresAreDistributedAcrossNodes test failures. Due to the various tests for exceptional conditions, there were times where the session was not released causing stale data to remain in the policy session cache.
2018-10-10 17:12:50 +05:30
Shalin Shekhar Mangar 940a7303ee SOLR-12739: Use cluster instead of collection as the key for using legacy assignment. 2018-10-10 16:19:17 +05:30
Shalin Shekhar Mangar 9f34a7c776 SOLR-12739: Fix failures in AutoAddReplicasIntegrationTest and its sub-class.
This test too makes assumptions about how replicas are placed. In the legacy assignment strategy, the replica of a given collection are spread equally across all nodes but with the new policy based strategy, all cores across collections are spread out. Therefore the assumptions in this test were wrong. I've changed this test to use the legacy assignment policy because testing the autoAddReplicas feature doesn't have to depend on new replica assignment strategies. This change also fixes a bug in Assign which used "collection" key instead of "cluster" to figure out which strategy to use.
2018-10-10 15:38:52 +05:30
Shalin Shekhar Mangar a66a7f3197 SOLR-12739: Fix CloudSolrClientTest.testNonRetryableRequests failures.
The testNonRetryableRequests test makes an assumption that a collection's replicas are equally distributed among all nodes but with the policy engine it is not true. Instead the policy engine spreads out the cores belonging to all collections equally among all nodes. This is fixed by only creating the collection needed by tests in this class just-in-time.
2018-10-10 13:12:26 +05:30
Noble Paul 3629e76011 SOLR-12843: precommit errors 2018-10-10 15:38:20 +11:00
Steve Rowe 8d205ecd1c SOLR-12843: fix precommit 2018-10-09 17:42:41 -04:00
Steve Rowe 41e3d07369 SOLR-11812: fix precommit 2018-10-09 17:34:16 -04:00
Steve Rowe 50478ea72d SOLR-11812: fix precommit 2018-10-09 17:27:21 -04: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
Noble Paul a52d47a1a5 SOLR-12843: precommit errors 2018-10-09 23:17:09 +11: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
Shalin Shekhar Mangar 184ed88ecb SOLR-12845: Disable the test until we can add a default policy equivalent to the hard coded legacy assignment rules 2018-10-09 13:54:46 +05:30
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
Nicholas Knize 1118299c33 LUCENE-8496: Selective indexing - modify BKDReader/BKDWriter to allow users to select a fewer number of dimensions to be used for creating the index than the total number of dimensions used for field encoding. i.e., dimensions 0 to N may be used to determine how to split the inner nodes, and dimensions N+1 to D are ignored and stored as data dimensions at the leaves. 2018-10-08 18:51:03 -05:00
Joel Bernstein df07a43b56 SOLR-12749: Update CHANGES.txt 2018-10-08 13:05:26 -04:00
Joel Bernstein 6a702ee16b SOLR-12840: Add pairSort Stream Evaluator 2018-10-08 12:53:23 -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
iverase 98b057c93a LUCENE-8520: Fix test by running query so it count total hits 2018-10-05 08:59:34 +02:00
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
Noble Paul 14e6eb2c24 use MapWriter._get() 2018-10-05 08:32:00 +10:00
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