爲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