我想打开monga中的复制.所以,当我尝试使用rs.initiate时,我得到以下errorrs.initiate()
{
"ok" : 0,
"errmsg" : "This node was not started with the replSet option",
"code" : 76,
"codeName" : "NoReplicationEnabled"
}
Run Code Online (Sandbox Code Playgroud)
我是新手,所以我不知道如何纠正它.我遵循这些准则 https://blog.jixee.me/how-to-use-mongo-connector-with-elasticsearch/
我正在尝试搜索具有数据类型映射(varchar,varchar)的列.现在访问该列的一种方法是使用这个结构name_of_column [' key '],它将给出该键的值.但我想知道什么是可能的密钥,然后根据这些密钥应用分组和其他操作.
我尝试在互联网上搜索,但无法找到合适的解决方案.