Commit Graph

654 Commits

Author SHA1 Message Date
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