Commit Graph

31107 Commits

Author SHA1 Message Date
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
Jan Høydahl 36c60251f2 LUCENE-8479: Fix precommit 2018-10-04 18:17:35 +02:00
Joel Bernstein a0487b04ea SOLR-12811: Add enclosingDisk and associated geometric Stream Evaluators 2018-10-04 10:36:27 -04:00
Jim Ferenczi 0f100004bc LUCENE-8479: QueryBuilder#analyzeGraphPhrase now throws TooManyClause exception if the number of expanded path reaches the BooleanQuery#maxClause limit. 2018-10-04 13:04:53 +02:00
Shalin Shekhar Mangar 793a677d0f SOLR-12827: Fix blurb in ref guide to say that the key is deprecated instead of saying that it is no longer supported. 2018-10-04 16:22:29 +05:30
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
Shalin Shekhar Mangar 05949a32c9 SOLR-12648: Use the information whether custom preferences were specified in the CloudUtil.usePolicyFramework method instead of comparing directly against default preferences. Comparing against default preferences was wrong because it ignores the case where the user explicitly added the same preferences as the default ones. 2018-10-04 13:26:51 +05:30
Shalin Shekhar Mangar 554ac64666 SOLR-12524: Marking the test as AwaitsFix 2018-10-04 06:53:10 +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
Joel Bernstein 751bf7db20 SOLR-12828: Add oscillate Stream Evaluator to support sine wave analysis 2018-10-03 12:25:35 -04: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
Andrzej Bialecki e687748405 SOLR-12080: Disable this test until it's fixed. 2018-10-03 07:56:26 +02:00
Andrzej Bialecki 2201b65266 SOLR-12709: Several fixes to the simulator and its .system collection auto-creation. 2018-10-02 17:35:45 +02:00
Noble Paul 4ca885ac9e SOLR-12824: fixed test failure 2018-10-02 21:17:22 +10:00
Noble Paul 961d565955 SOLR-12824: NamedList to implement MapWriter interface 2018-10-02 17:34:58 +10:00
David Smiley fe844c739b LUCENE-8513: Remove MultiFields.getFields
SlowCompositeReaderWrapper now works with MultiTerms directly
2018-10-01 10:39:12 -04:00
Noble Paul 86e00405b0 SOLR-12792: extract out test data 2018-10-01 22:00:09 +10:00
Cao Manh Dat 93e2ae3fc4 SOLR-12774: IndexOutOfBoundsException on logging startupVersions 2018-10-01 15:25:30 +07:00
Joel Bernstein 3ece536d81 SOLR-11907: Change error message if ConvexHull2D is not provided as the first parameter 2018-09-30 21:11:23 -04:00
Joel Bernstein 3fc58f4a98 SOLR-11907: Add convexHull and associated geometric Stream Evaluators 2018-09-30 20:56:03 -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
Andrzej Bialecki 918b11c7ce For simulated queries count also buffered updates. 2018-09-28 20:24:29 +02: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
Andrzej Bialecki 2369c89634 SOLR-12709: Add TestSimExtremeIndexing for testing simulated large indexing jobs.
Several important improvements to the simulator.
2018-09-27 14:49:43 +02: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
Noble Paul a6d39ba859 targetNode is not required for move-replica 2018-09-27 15:27:08 +10:00
Jan Høydahl 03c9c04353 LUCENE-8493: Stop publishing insecure .sha1 files with releases 2018-09-26 15:31:26 +02:00
Cao Manh Dat 667b8299e6 SOLR-12805: Store previous term (generation) of replica when start recovery process 2018-09-26 10:35:44 +07:00
Christine Poerschke 58167666c3 Fix comment typo in SolrConfig. 2018-09-25 17:56:39 +01:00
Christine Poerschke 05f935f6e4 Fix javadoc typo in TermInSetQuery. 2018-09-25 17:56:38 +01:00
Noble Paul e16d7d6993 SOLR-11522: /autoscaling/suggestions now include rebalance options as well even if there are no violations 2018-09-26 00:47:03 +10:00
Nicholas Knize 2b4717c6f4 SOLR-12028: Reduce test data set for TestLatLonPolygonShapeQueries.testRandomBig 2018-09-25 09:26:20 -05:00
Jim Ferenczi 2bad3c4985 LUCENE-8505: IndexWriter#addIndices will now fail if the target index is sorted but the candidate is not. 2018-09-25 09:14:07 +02:00
Shalin Shekhar Mangar e437b2f1ed SOLR-9317: Deduplicate node list before trying to find if all nodes are up. The test is also fixed to not send duplicate node names in the createNodeSet parameter. 2018-09-25 12:14:16 +05:30
David Smiley 9bc4b8d4fe SOLR-12759: fix regexp 2018-09-24 15:21:59 -04: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
Jim Ferenczi baf40d5f05 Add 7.5.0 back compat test indexes 2018-09-24 10:10:36 +02:00