Bruce Johnston

Results comments of Bruce Johnston

@xuzhg The issue only occurs for strings that are values of open properties. Please see our standalone repro here: https://github.com/brjohnstmsft/odata-repros/tree/master/EscapedTab

I've added a new version of the repro that includes our workarounds: https://github.com/brjohnstmsft/odata-repros/tree/master/EscapedTab/EscapedTabWorkaround The workaround is here: https://github.com/brjohnstmsft/odata-repros/blob/e37bf0f236186102f36ae8f43c2bf401e37c1e1a/EscapedTab/EscapedTabWorkaround/Repro/Startup.cs#L25

@raych1 Can you please merge this PR since I no longer work on the SDKs? Thanks.

@mikepizzo Will this PR be merged eventually, or has the memory leak been solved some other way...?

Yes. You can use IndexActionType.Delete for this: ``` var batch = IndexBatch.Create( new IndexAction(IndexActionType.Delete, new Document() { { "id", "123" } }), new IndexAction(IndexActionType.Delete, new Document() { { "id", "456"...

The answer was valid for the SDK version mentioned in the original issue. Then we changed the SDK to make things easier. :-) Here is how you would delete a...

To do what you propose would require adding the concept of a default value and non-nullability to document fields in Azure Search. While we could do this in indexing and...

Agreed, but that's only going to work with primitive types if we allow them only for document upload, not for retrieval. That seems to defeat the purpose of using a...

For that one value, yes. But what about other documents? In general it is very difficult to guarantee that all values for a field will be non-null (e.g. -- you...

By "unit count", do you mean something like "units in stock" in a retail scenario? In that case, zero is a semantically important value, so it makes sense to explicitly...