[FEATURE REQ] Search: Allow participation/override of document serialization
See original GitHub issueLibrary name
Azure.Search.Documents
Please describe the feature.
As I don’t have complete control over my POCOs that I need to index, I would like to serialize them myself to eg. skip properties or otherwise customize the serialization of the uploaded documents.
Right now I resort to batch uploading dicitonaries of string,object … it’s fine I guess. But no doubt, I would have been able to skip a lot of the meta programming if we had a bit more ways of plugging into this.
var batch = IndexDocumentsBatch.Create(documents.Select(d => IndexDocumentsAction.Upload(d.Properties.ToDictionary(p => p.Name, p => p.Value))).ToArray());
await SearchClient.IndexDocumentsAsync(batch);
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Controlling browser features with Permissions Policy
The user has the final decision to allow access to more powerful features, and needs to provide explicit permission via a prompt.
Read more >Deserialization of untrusted data
Implementation: Use a Java agent to override the internals of ObjectInputStream to prevent exploitation of known dangerous types as seen in rO0 and...
Read more >Control How to Serialize and Deserialize Apex Types
The new @JsonAccess annotation defined at Apex class level controls whether instances of the class can be serialized or deserialized. If the annotation...
Read more >DOM Parsing and Serialization
Abstract. This specification defines various APIs for programmatic access to HTML and generic XML parsers by web applications for use in ...
Read more >Simple 2.7.1
Java Bean serialization In particular annotating Java Bean setter and getter methods will allow for a cleaner means to override the serialization behaviour ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
//fyi: @tg-msft, @KrzysztofCwalina, @pallavit
Thank you for your feedback. Tagging and routing to the team member best able to assist.