为UpdateDescriptor新添加的“ScriptId”似乎不起作用。在运行时,我得到以下错误:ElasticSearch NEST UpdateDescriptor scriptId不起作用,给出System.MissingMethodException
system.missingMethodException而为未处理 的HResult = -2146233069 消息=未找到方法: 'Nest.UpdateDescriptor`2 Nest.UpdateDescriptor`2.ScriptId(System.String)'。 源= SMSProcessManagers 堆栈跟踪: 在TestApp.TestApplication.Program.Main(字串[] args)在E:\ SRC \应用\ TestApplication \ Program.cs的:线49 在System.AppDomain._nExecuteAssembly(RuntimeAssembly组件,字符串[]参数) 在Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() 在System.Threading.ExecutionContext.RunInternal(的ExecutionContext的ExecutionContext,ContextCallback回调,对象的状态,布尔preserveSyncCtx) 在System.Threading.ExecutionContext.Run(的ExecutionContext执行环境,ContextCallback回调,对象状态,Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback callback,Object state) 在System.Threading.ThreadHelper.ThreadStart() InnerException:
有谁知道这是什么修复?
我有复制和粘贴问题。我收到的错误是: Nest.UpdateDescriptor'2 Nest.UpdateDescriptor'2.ScriptId(System.String) – 2015-02-05 20:24:21