Commit Graph

764 Commits

Author SHA1 Message Date
Cassandra Targett 92c83264c8 SOLR-12927: copy edits (i.e., e.g., capitalized titles, etc.) 2018-11-12 20:02:30 -06:00
Cassandra Targett 8791a38d75 SOLR-12927: Add upgrade notes for Solr 7.6 2018-11-12 20:02:30 -06:00
Jason Gerlowski 52998fa50e SOLR-12965: Add facet support to JsonQueryRequest 2018-11-10 21:44:25 -05:00
Chris Hostetter 77a4bfaa90 SOLR-12962: Added a new 'uninvertible' option for fields and fieldtypes. This defaults to 'true' for backcompat allowing a FieldCache to be built for indexed fields as needed, but users are encouraged to set this to false (using docValues as needed) to reduce the risk of large fluxuations in heap size due to unexpected attempts to sort/facet/function on non-docValue fields. 2018-11-09 08:30:04 -07:00
Joel Bernstein 780305cf44 SOLR-12913: Fix typo in User Guide 2018-11-08 20:06:05 -05:00
Cassandra Targett 73005d482d Ref Guide: fix pages missing header license info 2018-11-08 15:02:33 -06:00
Joel Bernstein 01397c1b88 SOLR-12913: Add ltrim and rtrim to the Math Expressions User Guide 2018-11-08 15:29:15 -05:00
Joel Bernstein 9594ee38bb SOLR-12913: grammer fix 2018-11-07 15:29:13 -05:00
Joel Bernstein 531b16633a SOLR-12913: Add new facet expression and pivot docs 2018-11-07 15:07:46 -05:00
Alexandre Rafalovitch 936ecf12fb Remove hyperlink to - now spammy - heliosearch domain 2018-11-07 07:26:12 -05:00
Alexandre Rafalovitch 419d42bf7b SOLR-12600: Fix parameter names in Solr JSON documentation 2018-11-07 07:01:06 -05:00
Jason Gerlowski 2d95b740db SOLR-12947: Add SolrJ helper for making JSON DSL requests
The JSON request API is great, but it's hard to use from SolrJ.  This
commit adds 'JsonQueryRequest', which makes it much easier to write
JSON API requests in SolrJ applications.
2018-11-06 07:34:53 -05:00
Steve Rowe 01808eee93 SOLR-12243: Edismax missing phrase queries when phrases contain multiterm synonyms 2018-11-05 10:32:49 -05:00
Cassandra Targett 1e3cc4861a SOLR-12746: Simplify the Ref Guide HTML structure and use semantic HTML tags where possible. Adds new template files for Asciidoctor HTML conversion. 2018-11-05 09:07:01 -06:00
Gus Heck 45b772f4a9 SOLR-12938 - Cluster status now returns results for aliases instead of
throwing an exception
2018-11-04 12:01:51 -05:00
Andrzej Bialecki 3ed64375ef SOLR-12942: Add an option in IndexSizeTrigger to select the split shard method. 2018-10-31 18:47:34 +01:00
Joel Bernstein 914c431987 SOLR-12913: Add recip and expand percentile docs 2018-10-31 08:48:04 -04:00
Joel Bernstein 0c8675dccc SOLR-12913: RefGuide formatting 2018-10-26 13:41:09 -04:00
Joel Bernstein 4821b30598 SOLR-12913: RefGuide revisions 2018-10-26 13:31:53 -04:00
Cassandra Targett 93ccdce57c SOLR-5004: put param names and values in monospace 2018-10-25 11:06:25 -05:00
Joel Bernstein 7952cec99a SOLR-12913: Streaming Expressions / Math Expressions docs for 7.6 release 2018-10-25 09:17:25 -04:00
Cassandra Targett 16ee847663 SOLR-12827: remove monospace in headings; correct formatting for heading level indicator; remove redundant "Example #" in the example titles 2018-10-24 15:04:33 -05:00
Cassandra Targett b72f05dac6 SOLR-9317: cleanup a couple of typos; add some description to addreplica examples 2018-10-24 14:41:36 -05:00
Christine Poerschke e62fe45983 SOLR-12772: Correct dotProduct parameters+syntax documentation 2018-10-24 19:49:35 +01:00
Christine Poerschke cebf7039ee Fix typo in stream-decorator-reference.adoc file. 2018-10-24 19:22:51 +01:00
David Smiley 3e89b7a771 SOLR-12754: New hl.weightMatches for UnifiedHighlighter WEIGHT_MATCHES
(defaults to true in master/8)
2018-10-23 13:28:10 -04:00
Anshum Gupta d799fd53c7 SOLR-5004: Allow a shard to be split into 'n' sub-shards using the collections API 2018-10-22 15:01:24 -07:00
Christine Poerschke c9776d88f9 Three minor variables.adoc edits. 2018-10-22 17:33:11 +01:00
Andrew Lundgren 1a8188d92b SOLR-10981: Support for stream.url or stream.file pointing to gzipped data 2018-10-18 19:53:21 -04:00
Noble Paul 635d1ea535 SOLR-12740: fixed doc asciidoc errors 2018-10-17 12:16:17 +11:00
Noble Paul 761f8aaf79 SOLR-12740: adding a link 2018-10-17 00:22:54 +11:00
Noble Paul 8d3810df54 SOLR-12740: migration docs 2018-10-16 17:38:51 +11:00
David Smiley 306065fca8 LUCENE-12357: Update ref guide notes 2018-10-15 23:38:09 -04:00
Christine Poerschke 1ccd555862 Fix couple of typos. 2018-10-15 15:08:17 -04: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
Jan Høydahl 80011d669a SOLR-12620: Remove the Admin UI Cloud -> Graph (Radial) view 2018-10-10 21:54:34 +02: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
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
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
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
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
Jan Høydahl 03c9c04353 LUCENE-8493: Stop publishing insecure .sha1 files with releases 2018-09-26 15:31:26 +02: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
Cassandra Targett 264110e7b9 SOLR-12784: Fix broken link to stemdict.txt by including it in the Guide directly 2018-09-19 14:15:01 -05:00
Steve Rowe ca86de1784 SOLR-12771: Improve Autoscaling Policy and Preferences documentation 2018-09-17 14:57:52 -04:00
Erick Erickson b2b597b038 SOLR-12773: Fix typos widely spread around codebase 2018-09-16 09:46:20 -07:00
Christine Poerschke d6641ffb1d Fix Ma[n]datory typo in stream-decorator-reference.adoc file. 2018-09-13 21:26:19 +01:00
David Smiley 6e8c05f6fe SOLR-12361: ref guide changes & CHANGES.txt organization 2018-09-12 17:34:28 -04:00
Christine Poerschke 41e972ee8a Fix num[u]eric typo in stream-evaluator-reference.adoc file. 2018-09-12 22:30:01 +01:00
Cassandra Targett b32dcbbe42 Ref Guide: fix typos; params -> parameters 2018-09-12 15:04:28 -05:00
Cassandra Targett ad7f15d808 Fix typo in build.xml so PDF javadoc links get converted correctly 2018-09-12 15:03:43 -05:00
Cassandra Targett 89bc082478 SOLR-12763: upgrade notes + some MergePolicy param fixes 2018-09-11 13:26:42 -05: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
Mike McCandless 398074d0f8 LUCENE-8343: change suggesters to use Long instead of long weight during indexing, and double instead of long score at suggest time 2018-09-11 12:03:40 -04:00
Cassandra Targett a619038e90 SOLR-12701: format/style consistency fixes for math expression docs; CSS change to make bold monospace appear properly 2018-09-11 08:47:16 -05:00
Joel Bernstein 70f001918e SOLR-11943: Fix RefGuide for latlonVectors and haversineMeters functions. 2018-09-09 20:59:13 -04:00
Joel Bernstein e5232f68cf SOLR-11943: Fix RefGuide for latlonVectors and haversineMeters functions. 2018-09-09 20:53:54 -04:00
Joel Bernstein 304836e675 SOLR-11943: Update RefGuide for latlonVectors and haversineMeters functions. 2018-09-09 20:44:25 -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
Tomas Fernandez Lobbe ccd9f6fccb SOLR-12612: Accept custom keys in cluster properties (doc changes)
Also added missing known cluster properties
2018-09-06 14:38:35 -07:00
Cassandra Targett 8caa34c4cf SOLR-10697: update Ref Guide for default value changes 2018-09-06 13:25:53 -05:00
Cassandra Targett cac589b803 SOLR-12716: Move common params to top of page; insert links to common param section for each trigger; improve consistency 2018-09-06 11:58:51 -05:00
Cassandra Targett 00ce9e067b SOLR-12722: expand "params" -> "parameters (plus a bunch of other things I found in unrelated transformer examples) 2018-09-06 08:54:37 -05:00
Cassandra Targett 9c364b2d86 SOLR-12684: put expression names and params in monospace 2018-09-06 08:16:27 -05:00
Jan Høydahl 285b743a8b SOLR-12745: Wrong header levels on BasicAuth refGuide page 2018-09-06 10:31:18 +02:00
Joel Bernstein b4a1548248 SOLR-12701: Fix knnSearch RefGuide 2018-09-05 14:14:59 -04:00
Cassandra Targett 4f05588007 SOLR-12625: fix typos..."an" -> "and" 2018-09-05 12:47:08 -05:00
Cassandra Targett e893f3480d SOLR-12715: change preferredOperation values to lowercase since that's how they're entered 2018-09-05 12:47:08 -05:00
Cassandra Targett 2565010261 SOLR-11690: put command examples in [source] blocks; make NOTE a CAUTION and move up to associated command 2018-09-05 12:47:08 -05:00
Christine Poerschke 3f9937bca2 Fix 'included' and 'number' typos in stream-source-reference.adoc file. 2018-09-05 17:51:00 +01:00
Christine Poerschke f385f02e4b Fix 'including' typo in cloud-screens.adoc file. 2018-09-05 17:46:47 +01:00
Joel Bernstein 719d922cbc SOLR-11863: Fix RefGuide typos 2018-09-05 11:30:27 -04:00
Joel Bernstein 0113adebce SOLR-11863: Add knnRegress to RefGuide 2018-09-05 11:20:30 -04:00
David Smiley e4f256be15 SOLR-12722: [child] transformer now processes 'fl' 2018-09-05 10:50:14 -04:00
Shalin Shekhar Mangar b6ee0ed5d5 SOLR-12716: NodeLostTrigger should support deleting replicas from lost nodes by setting preferredOperation=deletenode
This commit adds support for preferredOperation configuration for NodeLostTrigger. The ComputePlanAction now creates DeleteNodeSuggester for each lost node serially when preferredOperation=deletenode. A new section for node lost trigger with exampls is added to the ref guide.
2018-09-05 15:40:10 +05:30
David Smiley b1b0963947 SOLR-11861 baseConfigSet default 2018-09-04 14:02:46 -04:00
Jan Høydahl d997e8b4a2 SOLR-11690: Improve documentation about DIH password encryption 2018-09-04 14:22:32 +02:00
Shalin Shekhar Mangar 34a85014d5 SOLR-12715: NodeAddedTrigger should support adding replicas to new nodes by setting preferredOperation=addreplica
This commit adds support for preferredOperation configuration parameter which defaults to movereplica. Changes ComputePlanAction to add all (collection,shard) pair as hints to AddReplicaSuggester when addreplica is selected as the preferred operation.
2018-09-04 17:05:44 +05:30
Mikhail Khludnev b4f9042a43 SOLR-12726: Removing obsolete sentences from SolrCloud Auto Scaling Ref Guide. 2018-09-03 20:00:39 +03:00
Steve Rowe 8667132999 SOLR-12689: Add example of collection creation when autoscaling policy/prefs are configured 2018-08-30 20:01:28 -04:00
Shalin Shekhar Mangar ad513cb621 Fixed wrong documentation in ScheduledTrigger. The property name is preferredOperation instead of preferredOp. 2018-08-30 16:58:44 +05:30
David Smiley 18874a6e36 SOLR-12591: Expand default configSet's date patterns to subsume those of extract contrib 2018-08-29 14:17:44 -04:00
Joel Bernstein 1cfc735fff SOLR-12634: Add gaussfit to the Math Expressions user guide 2018-08-28 17:01:15 -04:00
Joel Bernstein 04a50b6a2e SOLR-12701: Improve Monte Carlo example 2018-08-27 20:46:26 -04:00
Joel Bernstein 659aed2de1 SOLR-12702: Add math expression userguid documentation 2018-08-27 16:10:15 -04:00
Joel Bernstein f4212a1df0 SOLR-12687: Add to math expressions user guide 2018-08-27 14:15:22 -04:00
Joel Bernstein 08a6d13c92 SOLR-12701: Remove statistical-programming page which is superceded by the new math-expressions paged 2018-08-27 10:30:48 -04:00
Varun Thacker fc9aac11f7 SOLR-12684: Document speed gotchas and partitionKeys usage for ParallelStream. Standardize search streams to specify the export handler in the examples for expressions that operate on all the tuples 2018-08-24 01:20:06 -07:00
Steve Rowe 95cb7aa491 SOLR-12590: Improve Solr resource loader coverage in the ref guide 2018-08-23 14:36:05 -04:00
Erick Erickson 66d500b5a5 SOLR-12625: Combine SolrDocumentFetcher and RetrieveFieldsOptimizer 2018-08-20 10:37:32 -07:00
Joel Bernstein 9cc0078af2 Ref Guide: Small changes to math expressions descriptions 2018-08-15 10:14:49 -04:00
Jan Høydahl f3339d14c9 SOLR-12523: Improve error reporting and docs regarding Collection backup feature shared-fs requirement 2018-08-15 13:38:05 +02:00
Bar Rotstein ec01cc981c SOLR-12591: ParseDateFieldUpdateProcessorFactory: Use "lenient" and strip surrounding quotes.
More tests, ported from "extract" contrib stuff.
2018-08-15 00:04:09 -04:00
Cassandra Targett 0d89ff2e61 SOLR-12664: Fix Download Solr button in index.adoc so it looks like it did before button style changes 2018-08-14 16:13:03 -05:00
Andrzej Bialecki 8dd704ef78 SOLR-12470: Search Rate Trigger multiple bug fixes, improvements and documentation updates. 2018-08-14 20:41:42 +02:00
Cassandra Targett 3e58e8ab45 SOLR-12664: Change bottom page nav styling 2018-08-14 12:13:44 -05:00
Cassandra Targett cdc0959afc Ref Guide: small typos; i.e. and e.g. cleanups 2018-08-10 14:58:57 -05:00
Cassandra Targett 4a3f8f6b44 SOLR-12599: clarify availability and number of debug parameters 2018-08-10 14:19:53 -05:00
Cassandra Targett 89a1655e7f SOLR-11766: Move Streaming Expressions to be top-level section of Ref Guide 2018-08-10 08:54:43 -05:00
Cassandra Targett dfb33e97d0 Ref Guide: standardize section titles to use headline case 2018-08-10 08:54:43 -05:00
Cassandra Targett e46c6b83a4 SOLR-11990: standardize "co-locate" for "colocate" throughout 2018-08-10 08:54:43 -05:00
Cassandra Targett d1c73ff6f6 SOLR-11947: Change math-expressions.adoc to remove level 2 section headings; use headline case for dsp.adoc section titles 2018-08-10 08:54:43 -05:00
Mikhail Khludnev 63fc1246f7 SOLR-11834: rollback [subquery] fields documentation 2018-08-09 20:28:45 +03:00
Steve Rowe 6c11284e7c SOLR-12636: escape arrow glyph to fix precommit 2018-08-09 09:56:17 -04:00
Steve Rowe 37e8fea22e SOLR-12636: Improve autoscaling policy rules documentation 2018-08-08 14:23:08 -04:00
Cassandra Targett 2674c53809 Ref Guide: fix typo in MODIFYCOLLECTION example 2018-08-08 08:53:15 -05:00
Jan Høydahl 9306922d65 SOLR-7767: "ZK Status" sub menu under "Cloud" tab to see status of zookeeper ensemble 2018-08-08 12:43:19 +02:00
David Smiley c3887b351e SOLR-12586: Change ParseDateFieldUpdateProcessorFactory to use java.time.DateTimeFormatter, not Joda Time.
Note: slightly different pattern language!
Remove Joda Time.
Closes #428
2018-08-07 11:51:16 -04:00
Varun Thacker b33df4ecff SOLR-12622: Ref guide example for configuring SolrSlf4jReporter 2018-08-04 11:13:22 -07:00
noble 664187f73a SOLR-12592: added support for range , percentage and decimal 2018-08-04 16:34:23 +10:00
Jan Høydahl 17a02c1089 SOLR-8207: Add "Nodes" view to the Admin UI "Cloud" tab, listing nodes and key metrics 2018-08-03 13:55:11 +02:00
Andrzej Bialecki 5de10c7966 SOLR-12344: SolrSlf4jReporter doesn't set MDC context. 2018-08-02 14:29:47 +02:00
Andrzej Bialecki 1133bf98a5 SOLR-12509: Improve SplitShardCmd performance and reliability. 2018-08-01 16:30:59 +02:00
Cassandra Targett 13960594e4 SOLR-11870: Ref Guide: Add docs on filter param for ICU filters 2018-07-31 13:17:14 -05:00
Cassandra Targett ecad9198d8 SOLR-12448: Fix outdated docs that say autoAddReplicas is for shared FS only in Ref Guide and v2 API specs 2018-07-31 12:25:45 -05:00
Cassandra Targett ea221069c3 SOLR-12164: Ref Guide - improve index.adoc so it's a nicer landing page for the Guide 2018-07-30 14:11:55 -05:00
Shalin Shekhar Mangar 179c8f9b48 SOLR-11990: Make it possible to co-locate replicas of multiple collections together in a node.
A collection may be co-located with another collection during collection creation time by specifying a
'withCollection' parameter. It can also be co-located afterwards by using the modify collection API.
The co-location guarantee is enforced regardless of future cluster operations whether they are invoked
manually via the Collection API or automatically by the Autoscaling framework.

Squashed commit of the following:

commit 3827703b38c598f1247c90ab57d3d640ab3a9e21
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:54:10 2018 +0530

    SOLR-11990: Added change log entry

commit 7977222e07ba47274062cb8d8a69e7956d644000
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:52:17 2018 +0530

    SOLR-11990: Added change log entry

commit 1857075fdb9d535b6149ad4369fed8b64b0c01f6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:49:51 2018 +0530

    SOLR-11990: Added note about co-location guarantees being one way only

commit 8557cbc8a511f21d1fcad99e11ea9d2104d0bef4
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:43:37 2018 +0530

    SOLR-11990: Remove unused import

commit 864b013fd744edca9b6b84a8a7573fab3c5310d5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:21:59 2018 +0530

    SOLR-11990: Fixing compilation issues after merging master

commit dd840a2f7e765ee96c899d4d9ea89b6b67c5ae62
Merge: bb4ffb3 828d281
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:03:50 2018 +0530

    Merge branch 'master' into jira/solr-11990

    # Conflicts:
    #	solr/solr-ref-guide/src/collections-api.adoc
    #	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Clause.java
    #	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Suggestion.java

commit bb4ffb32c4960a2809ac8927e214e1e012204a73
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 14:09:44 2018 +0530

    SOLR-11990: Ensure that the suggestion are validated by the policy engine otherwise move to the next candidate replica or the next candidate node

commit a97d45b22f9c232e939f979502c761001be9ae24
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 13:22:10 2018 +0530

    SOLR-11990: Autoscaling suggestions for withCollection violations should prefer moving replicas before adding replicas

commit 7b5a84338dfe7335599a5e96aff2d26cb4eeaac6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 12:22:45 2018 +0530

    SOLR-11990: Fix statement about the behavior of the modify collection API when modifying the withCollection parameter

commit 63aec4fe0de7025c16b6ebc47dad1004531ecee1
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Jul 26 07:29:07 2018 +0530

    SOLR-11990: Added new page to the reference guide describing how to colocate collections together including guarantees and limitations

commit 6bfcd0786bb30353de9c26a01ec97ce3191b58f8
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 21:42:25 2018 +0530

    SOLR-11990: Added another test which creates two collections which are colocated with two different collections and ensures that create collection and add replica operations work correctly

commit 4cead778f0044b6fb4012b085abf7b60350f495b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 21:07:47 2018 +0530

    SOLR-11990: Stop or start jettys in test setup to ensure that we always have exactly 2 replicas running before a test starts

commit 70dbfd042c2164fcd76d406eeab1518e4d3147fb
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 19:19:07 2018 +0530

    SOLR-11990: Added description of the new withCollection parameter in the reference guide

commit 9d8260852b9d667d4d8e026432fd7727b7789393
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 19:16:46 2018 +0530

    SOLR-11990: Reset count down latch during test setup

commit ae508165571b1afde54337859b8d5fdbb1d67312
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 15:43:54 2018 +0530

    SOLR-11990: Add support for withCollection in simulated create collection API

commit 84f026b8c4cc25edb548430b8f5ad09d2486b3b5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 17:21:33 2018 +0530

    SOLR-11990: Ported the refactoring made in CreateCollectionCmd to the simulated version so that simulation tests are able to create collections correctly

commit defe111c9d31c8e4f0f00b4f2f3c875f5b2fa602
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:17:52 2018 +0530

    SOLR-11990: Add missing javadoc for return statement

commit 8e47d5bc4545548c5441909c3fcc1a7901b38185
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:11:45 2018 +0530

    SOLR-11990: Replace usage of forbidden Charsets with StandardCharsets class

commit 2d1b9eb25ea96a3a42c000ae654400ed44c17554
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:07:36 2018 +0530

    SOLR-11990: Extract ConditionType to an interface VarType along with a WithCollectionVarType implementation

commit 1de2a4f52a59afca28de75bfa5156a3d6567a4f5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 12:53:26 2018 +0530

    SOLR-11990: Pass strict-ness parameter to the ConditionType so that WITH_COLLECTION can choose not to project add replica in strict mode.

    This ensures that add replica or move replica suggesters always choose nodes that already have withCollection replicas first unless there are violations in doing so. Only if the first pass fails to find a suitable replica, do we go to the other nodes in the cluster. This also removes the need for the majority of changes in AddReplicaSuggester and so they've been reverted.

commit 0d616ed9e9bad791548c87086cba7760d724350d
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 11:36:34 2018 +0530

    SOLR-11990: Minor changes to formatting and code comments

commit 1228538f934f35f15797d89c2c66f2deb9cddd8c
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 23 14:26:19 2018 +0530

    SOLR-11990: Added a test which simulates a lost node and asserts that move replica suggester moves the replica on the lost node to a node already having the withCollection present

commit 582f1fd98de93ab73c74a1f623749dd031beb381
Author: Noble Paul <noble@apache.org>
Date:   Mon Jul 23 18:35:22 2018 +1000

    SOLR-11990: NPE removing unnecessary System.out.println

commit 501bc6c1d066321b344bbb8b1de3c2ead52f8c49
Author: Noble Paul <noble@apache.org>
Date:   Mon Jul 23 18:31:07 2018 +1000

    SOLR-11990: NPE during class init

commit acbf4a69321e16cff11cc7cf0a1f076fd9ac0037
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 23 13:55:30 2018 +0530

    SOLR-11990: Added asserts on the nodes that should be selected by the add replica suggester

commit 4824933fd6eb7d1773acbff1a1a0c5e670226e0b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 20 14:30:52 2018 +0530

    SOLR-11990: Added WITH_COLLECTION to global tags. Fixed implementation of addViolatingReplicas and getSuggestions in the clause impl. Added more asserts in testWithCollectionSuggestions.

commit dbadb33211c190026e08d8e3ea587b6f8df8720b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 20 13:44:36 2018 +0530

    SOLR-11990: Added support for comparing violations, generating suggestions and adding violating replicas

commit ada1f17d5c93a4186260473e4822d2bee1da0e16
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 19:14:56 2018 +0530

    SOLR-11990: Fix mock node state provider in TestPolicy to use the right cluster state. Added nocommits to ensure that we return the right suggestions for this feature.

commit ef2d61812e0d96eb2275b3411906d9de57ab835e
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 18:39:51 2018 +0530

    SOLR-11990: Add missing node in nodeValues configuration

commit 34841fc01fea4a9f1e6a9f64050e576f2247a72b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 16:32:57 2018 +0530

    SOLR-11990: Make it possible to co-locate replicas of multiple collections together in a node
2018-07-29 07:26:13 +05:30
Varun Thacker 828d2815f1 SOLR-12599: Add more query routing params to the ref guide 2018-07-27 14:31:55 -07:00
Noble Paul dfb18a6d72 SOLR-12536: ref guide typo fixed 2018-07-27 14:27:51 +10:00
Noble Paul 90424cbe27 SOLR-12536: ref guide 2018-07-27 12:37:32 +10:00
Chris Hostetter 71c0bddd14 SOLR-12581: the JSON Facet 'relatedness()' aggregate function now supports a 'min_popularity' option using the extended type:func syntax 2018-07-25 10:06:30 -07:00
Chris Hostetter 98d463ae48 SOLR-12567: JSON Facet "functions" now support an extended "type:func" syntax, similar to other types of facets
This also allows additional local params to be specified for if the aggregation function can take advantage of them.
2018-07-24 10:43:49 -07:00
Erick Erickson 9d7aef6e77 SOLR-12576: Update ref guide for additional information displayed in cloud view 2018-07-23 20:58:32 -07:00
Varun Thacker 9d9c3a0cd8 SOLR-11598: Support more than 4 sort fields in the export writer 2018-07-20 11:38:07 -07:00
Cassandra Targett c152caeb23 Ref Guide: fix URL example rendering in result-grouping.adoc so all characters appear properly 2018-07-20 07:40:24 -05:00
Chris Hostetter 3a5d4a25df SOLR-12343: Fixed a bug in JSON Faceting that could cause incorrect counts/stats when using non default sort options
This also adds a new configurable "overrefine" option
2018-07-19 10:05:28 -07:00
Cassandra Targett d443ed088d SOLR-11453: Ref Guide: add info on location of solr_slow_requests.log 2018-07-18 15:55:12 -05:00
Cassandra Targett 8242fc8368 Ref Guide: tiny edit to standardize usages of "tlog" for "transaction log" 2018-07-18 15:51:20 -05:00
Cassandra Targett 722f7dabd0 SOLR-11277: Ref Guide: add parameters for defining kilo/mega/gigabyte suffixes 2018-07-18 15:49:40 -05:00
Cassandra Targett d6afe1d016 SOLR-12507: clean up italics in MODIFYCOLLECTION example 2018-07-18 15:48:29 -05:00
Alessandro Benedetti 1a83a14668 Merge remote-tracking branch 'upstream/master' into LUCENE-8343 2018-07-18 10:19:21 +01:00
Noble Paul 49b1fe2b6d SOLR-12522: Support a runtime function `#ALL` for 'replica' in autoscaling policies 2018-07-17 15:40:22 +10:00
Chris Hostetter 2b395dabb8 SOLR-12115: explain all the types of Domain changes available in JSON Faceting
this also restructures the order of the content a bit to introduce concepts in the order they will most likelye be useful to most users
2018-07-16 09:15:11 -07:00
Noble Paul 1e50030940 SOLR-12495,SOLR-11986 ref guide 2018-07-16 17:57:57 +10:00
Anshum Gupta 26f76cc1be SOLR-12547: Fix typo in documentation for maxSize based auto-commit 2018-07-11 23:00:49 -07:00
Alexandre Rafalovitch b7d14c50fb SOLR-11694: Remove outdated UIMA module 2018-07-07 09:58:57 -04:00
Ishan Chattopadhyaya c291fa3724 SOLR-12530: Ability to disable configset upload 2018-06-29 19:12:07 +05:30
Noble Paul 62b9cbc6f9 SOLR-11985: added validation and test 2018-06-29 14:53:14 +10:00
Erick Erickson c303c5f126 LUCENE-8370: Reproducing TestLucene{54,70}DocValuesFormat.testSortedSetVariableLengthBigVsStoredFields() failures 2018-06-28 18:28:37 -07:00
Cassandra Targett 38c33de24c SOLR-12529: clean up how to publish ref guide docs 2018-06-28 15:36:14 -05:00
Alan Woodward 0fbe3d257e LUCENE-8356: Remove StandardFilter from Solr schemas 2018-06-27 12:05:23 +01:00
Noble Paul a929003f5b SOLR-11985: ref guide
SOLR-12511: ref guide

SOLR-12517: ref guide
2018-06-27 12:58:08 +10:00
Andrzej Bialecki 1023b839ae SOLR-11665: Improve error handling of shard splitting. Fix splitting of mixed replica types. 2018-06-26 20:35:34 +02:00
David Smiley 095f9eb90d SOLR-12398: Add Heatmap facet option to JSON Facet API.
* moved the preponderance of the implementation from SpatialHeatmapFacets (used by SimpleFacets) into the new API.
2018-06-25 22:37:13 -04:00
Shalin Shekhar Mangar 6b4e9340d8 SOLR-12507: Support deleting properties using a blank parameter value 2018-06-25 16:34:52 +05:30
Shalin Shekhar Mangar fabc408d3b SOLR-12507: Modify collection API should support un-setting properties 2018-06-21 15:45:24 +05:30
Varun Thacker 3d20e8967b SOLR-12489: User specified replicationFactor and maxShardsPerNode is used when specified during a restore operation.
A user can now specify nrtReplicas/tlogReplicas/pullReplicas while restoring the collection.

Specifying replicationFactor or nrtReplicas have the same effect and only one can be specified
2018-06-19 19:45:08 +05:30
Anshum Gupta 6222c46201 SOLR-11277: Documentation for maxSize based auto hard commit 2018-06-18 09:56:43 -07:00
Erick 2519025fda LUCENE-7976: Make TieredMergePolicy respect maxSegmentSizeMB and allow singleton merges of very large segments 2018-06-15 12:33:02 -07:00
Dawid Weiss 47b9ca6f57 SOLR-11200: ioThrottle solr ref guide follow-up. 2018-06-15 09:48:20 +02:00
Steve Rowe fba42bbac6 SOLR-12435: Fix bin/solr help and ref guide text to describe ZK_HOST in solr.in.sh/solr.in.cmd as an alternative to -z cmdline param 2018-06-14 21:06:09 -04:00
Steve Rowe 26a1143dcf SOLR-12437: Document 'bin/solr config' in the ref guide 2018-06-14 16:29:54 -04:00
Varun Thacker a26a1bb249 SOLR-11453: Ref-Guide Changes 2018-06-14 16:29:03 +02:00
Mikhail Khludnev 052fede51d SOLR-9685: documenting #tags in query DSL. 2018-06-14 17:20:54 +03:00
Cassandra Targett 7773bf6764 SOLR-11779: Ref Guide: minor typos; capitalize section titles; remove monospace from section titles 2018-06-11 15:54:30 -05:00
Cassandra Targett f1ce5bb22a Ref Guide: fix missing colons to make proper labeled list 2018-06-11 15:35:13 -05:00
Cassandra Targett fc3f642692 SOLR-12223: Update docs to add Initial Startup section for bi-directional updates 2018-06-11 14:55:21 -05:00
Cassandra Targett efd1690a06 Ref Guide: use headline case for section titles 2018-06-11 14:32:54 -05:00
Cassandra Targett 16242997f2 SOLR-112476: add 7.4 upgrade notes for Ref Guide 2018-06-11 14:32:54 -05:00
Jan Høydahl 43fbf0321d Make spatial example more readable and fix bug where *:* did not show. Fixes #400 2018-06-11 21:21:43 +02:00
Jan Høydahl f76f7fc61f Minor typo in autoscaling refguide docs. Fixes #401 2018-06-11 21:18:40 +02:00
Cassandra Targett 74576b0083 SOLR-9480: Ref Guide minor typo cleanup; remove outdated/unnecessary anchors 2018-06-11 12:02:22 -05:00
David Smiley 4f1b83bd85 SOLR-12274: Solr Ref Guide, spatial-search: Corrected obsolete JTS license info & location 2018-06-11 12:13:12 -04:00
Cassandra Targett c6c1aeb768 SOLR-12160: Ref Guide: break up some longer paragraphs a bit 2018-06-11 08:57:42 -05:00
Cassandra Targett cff9923795 SOLR-12181: Ref Guide: add link to ref'd JIRA issue + minor punctuation fixes 2018-06-11 08:45:50 -05:00
broustant a06256ccee SOLR-11865: QueryElevationComponent changes
* new useConfiguredElevatedOrder setting
* more extensible (customizable via subclass)
** ElevationProvider
** handleInitializationException with cause enum
* use BytesRef for uniqueKey ID pervasively instead of String.
* ElevatorComparatorSource now reuses getBoostedDocs logic
* setSort will short-circuit if there are no elevated Ids
* extensive refactoring and affects some interrelated components
2018-06-09 11:32:24 -04:00
Cassandra Targett c524dc2606 Ref Guide: ensure consistency with "etc." in sentences 2018-06-08 15:24:11 -05:00
Cassandra Targett 4dacf90812 SOLR-11982: Ref Guide: remove deprecated content; break up long paragraphs 2018-06-08 15:16:16 -05:00
Cassandra Targett 4c7b7c0063 SOLR-4793: Ref Guide: shorten the section heading & fix refs 2018-06-08 14:38:31 -05:00
Cassandra Targett 9b5dd15471 SOLR-12378: Ref Guide: reformat parameter list; break up big paragraph; fix typos 2018-06-08 14:09:50 -05:00
Cassandra Targett a06c24cf92 Ref Guide: fix inconsistent "eg" and "ie" usages; capitalize ZooKeeper properly 2018-06-08 11:08:41 -05:00
Cassandra Targett eb7bb2d906 SOLR-12338: State default value more directly 2018-06-08 10:49:29 -05:00
Andrzej Bialecki 417940cdd7 SOLR-12438: Improve status reporting of metrics history API. 2018-06-07 22:26:47 +02:00
Cassandra Targett d7abebd7af SOLR-12376: Add some links to other Ref Guide pages; minor format & typo cleanup 2018-06-07 14:30:51 -05:00
Alessandro Benedetti 2b636e8c3a [LUCENE-8343] minor documentation fixes 2018-06-07 16:51:38 +01:00
Alessandro Benedetti cef9a2283e Merge remote-tracking branch 'upstream/master' into LUCENE-8343 2018-06-07 16:50:58 +01:00
Cassandra Targett 6e88035297 SOLR-12018: Remove comments.apache.org integration for the Ref Guide 2018-06-07 10:17:23 -05:00
Alessandro Benedetti 17cfa63479 [LUCENE-8343] documentation fix 2018-06-06 19:42:08 +01:00
David Smiley cf63392183 SOLR-12376: New TaggerRequestHandler (SolrTextTagger). 2018-06-05 14:04:55 -04:00
Noble Paul f27d8a2dbf SOLR-12387: added documentation 2018-06-05 12:53:22 +10:00
Jan Høydahl 6ca0c5f98a SOLR-12401: Add refGuide docs and CHANGES 2018-05-30 12:51:00 +02:00
Cao Manh Dat 6084da559c SOLR-12338: Replay buffering tlog in parallel 2018-05-30 11:05:48 +07:00
Varun Thacker 8821b80616 fix typo in autoscaling trigger page 2018-05-29 18:49:24 -07:00
Andrzej Bialecki 6bbce38b77 SOLR-11779: Basic long-term collection of aggregated metrics. 2018-05-29 10:35:39 +02:00
Dawid Weiss 0e4e0096fd SOLR-12396: Upgrade Carrot2 to 3.16.0, HPPC to 0.8.1, morfologik to 2.1.5 2018-05-25 09:16:41 +02:00
Steve Rowe 54a63d0d0c SOLR-12388: Enable a strict ZooKeeper-connected search request mode, in which search requests will fail when the coordinating node cant communicate with ZooKeeper, by setting the "shards.tolerant" param to "requireZkConnected" 2018-05-25 01:03:54 -04:00
markrmiller 48bd259516 SOLR-12378: Support missing versionField on indexed docs in DocBasedVersionConstraintsURP. 2018-05-23 15:44:37 -05:00
Chris Hostetter 669b9e7a53 SOLR-9480: A new 'relatedness()' aggregate function for JSON Faceting to enable building Semantic Knowledge Graphs 2018-05-21 08:22:54 -07:00
Steve Rowe d91273ddf0 LUCENE-8273: Rename TermExclusionFilter -> ProtectedTermFilter. Allow ProtectedTermFilterFactory to be used outside of CustomAnalyzer, including in Solr, by allowing wrapped filters and their parameters to be specified on construction. Add tests for ProtectedTermFilterFactory in lucene/common/analysis/ and in solr/core/. Add Solr ref guide documentation for ProtectedTermFilterFactory. Improve javadocs for CustomAnalyzer, ConditionalTokenFilter, and ProtectedTermFilter. 2018-05-20 19:52:07 -04:00
Christine Poerschke 0e1426627a SOLR-12036: use DefaultStreamFactory in Solr Ref Guide (Streaming Expressions) example 2018-05-18 19:58:56 +01:00
Cassandra Targett 7bb3e5c248 Ref Guide: add step to install asciidoctor before jekyll-asciidoc to prevent wrong version of gem being installed as a dependency 2018-05-17 15:03:14 -05:00
Cassandra Targett 0adaeee438 Ref Guide: fix ZK string in kerberos solrj example 2018-05-10 11:53:35 -05:00
Alan Woodward b5021a6658 Fix precommit 2018-05-10 09:32:39 +01:00
Joel Bernstein c2819930d7 SOLR-12280: Add dsp to math-expression children 2018-05-09 16:35:53 -04:00
Joel Bernstein 144f00a1e3 Squashed commit of the following:
commit e5074c3223e394af17f686294a67a1dd3ecdd147
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 13:16:34 2018 -0400

    SOLR-12280: WIP

commit 69cdeccf161177d10f4d2407542392aaee3fcfe8
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 13:08:02 2018 -0400

    SOLR-12280: WIP

commit c94f0c87c3e57c023d622ad2411e522c4aac491c
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 11:54:58 2018 -0400

    SOLR-12280: WIP

commit 68dd1e73355cb84410f2d0ff3a51797ed6194a10
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 10:54:32 2018 -0400

    SOLR-12280: WIP

commit 04a010543418a469100fa299c606a7b1eed452e1
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 10:47:27 2018 -0400

    SOLR-12280: WIP

commit a6bbfbadaafe33fcdf93d5c72755e30dadadf017
Author: Joel Bernstein <jbernste@apache.org>
Date:   Wed May 9 09:40:08 2018 -0400

    SOLR-12280: WIP

commit 5d27961aa291bcd71527337632981bcdf62369b4
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 20:43:33 2018 -0400

    SOLR-12280: WIP

commit e982cf939f429c05b736f6292c68dd96d7ebc027
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 13:27:29 2018 -0400

    SOLR-12280: WIP

commit aae78ab6f387c28a080021bc919ef51864540be2
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 12:23:52 2018 -0400

    SOLR-12280: WIP

commit 0787ad76f0f4c62c860784b15490d8a988939997
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 12:20:38 2018 -0400

    SOLR-12280: WIP

commit 4df098376ba05188702cca8582959c3fe18066f5
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 12:12:11 2018 -0400

    SOLR-12280: WIP

commit 5c0be5136bbab7e0c33b3b8a7b0395b1b330e96d
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 12:04:57 2018 -0400

    SOLR-12280: WIP

commit 6c6feac4c2e5a49a5eab87a228713d1b93c8fc70
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 11:57:49 2018 -0400

    SOLR-12280: WIP

commit 7d46d11c9dd3a51b68600c2c889f586147545294
Author: Joel Bernstein <jbernste@apache.org>
Date:   Tue May 8 11:50:51 2018 -0400

    SOLR-12280: WIP

commit 8b6bf19d0091203ed63b39d070dd02a9bece6a61
Author: Joel Bernstein <jbernste@apache.org>
Date:   Mon May 7 10:53:14 2018 -0400

    SOLR-12280: WIP

commit 5466591999816eaacde6ce18d824d7688e5f4fe8
Author: Joel Bernstein <jbernste@apache.org>
Date:   Fri May 4 15:12:43 2018 -0400

    SOLR-12280: WIP

commit d7fff7d557a7fd26011c21445b7969b2cd81036f
Author: Joel Bernstein <jbernste@apache.org>
Date:   Fri Apr 27 12:50:27 2018 -0400

    SOLR-12280: Initial commit
2018-05-09 13:24:08 -04:00
Mikhail Khludnev ef8edbab00 SOLR-12303: documenting default \[subquery].qt trap. 2018-05-09 12:47:46 +03:00
Mikhail Khludnev beaf3a47eb SOLR-8998: documentation fix. 2018-05-06 16:46:56 +03:00
Christine Poerschke ab11867364 json-facet-api.adoc typo fix. 2018-05-03 18:42:56 +01:00