[DOCS-8475] Improve documentation of the CreateIndex option for storageEngine Created: 02/Aug/16  Updated: 30/Oct/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Minor - P4
Reporter: David Hows Assignee: Unassigned
Resolution: Won't Do Votes: 1
Labels: CreateIndex, indexes, outlier, wiredtiger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 1 year, 14 weeks, 2 days ago
Epic Link: DOCSP-1769
Story Points: 2

 Description   

Currently, our docs are a little sparse on how to configure the storageEngine option for the CreateIndex.

https://docs.mongodb.com/manual/reference/method/db.collection.createIndex/#options-for-all-index-types

The option when run against WT (or InMemory) would only allow for a "configString" document to be passed in, and this should contain a WT table config string.

Perhaps we should add a section for WT/InMem to doc these options and an example or 2?

Here is the creation of an index with snappy compression (in addition to prefix compression)

db.foo.createIndex({x:1}, {storageEngine:{wiredTiger:{configString:"block_compressor=snappy"}}})



 Comments   
Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 07:56:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.