Try our conversational search powered by Generative AI!

Why does the type after two dollar signs keep getting added to my indexed item?


I am indexing a POCO, but what I get is:

"$type": "MisoWeb.Models.Find.MarketReportItem, MISO.MKTPRT.IndexTool","Id$$string": "521","DocumentGuid$$string": "f9551d62-f5a8-4a7f-ae9d-d685061c2165","FileName$$string": "","Name$$string": "Archived Real-Time Final Market LMPs (zip)",

what's up with the $$string business?

Jan 18, 2019 21:08

I believe it's the type naming convention, if you use Find's api to query the document back Find will seliarize the result document back to your POCO so you don't have to worry about the post fix.

Jan 21, 2019 10:27

That's a JSON.NET thing (which Find uses internally), so it index the property type along with property name, so it'll know how to deserialize it back to the object. as Dan said I don't think you have to worry about it.

Jan 21, 2019 10:42

Many thanks guys, yeah I am going to give it a shot in my DEV

Feb 02, 2019 16:59
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.