I was trying to create an index for the lab 2.1 for the course m201, the key address.state is not consistent across all the documents, and hence compass is not showing the address.state as an option to create index, can i go ahead and create one from the command line, will that work … ?
Yes you can. You can even create the index before the first document.
Not all documents have address.state field. I think that is why this field name does not appear in the drop-down list. I can type the field name ‘address.state’ in the entry box and proceed.