OData Support in ASP.net core

Edit: now available at https://www.nuget.org/packages/Microsoft.OData.Core/ It’s in the road map, OData Lib has released 7.0.0 which is a breaking change release, OData/WebAPI will release 6.0.0 based on this, after the release, we will consider to support ASP.NET Core. Relative issue: https://github.com/OData/WebApi/issues/772

How to create OData V2 entity path dynamically in UI5?

Create the path dynamically via the API createKey from the V2 ODataModel: const path = myODataV2Model.createKey(“/Products”, { // Key(s) and value(s) of that entity set “ProductID”: myVar1, // with the value 999 for example “AnotherKeyProperty”: “…”, }); myODataV2Model.update(path/*, …*/); Compared to concatenating strings for the path manually, createKey offers the following advantages: It outputs the … Read more

How to wisely combine shingles and edgeNgram to provide flexible full text search?

This is an interesting use case. Here’s my take: { “settings”: { “analysis”: { “analyzer”: { “my_ngram_analyzer”: { “tokenizer”: “my_ngram_tokenizer”, “filter”: [“lowercase”] }, “my_edge_ngram_analyzer”: { “tokenizer”: “my_edge_ngram_tokenizer”, “filter”: [“lowercase”] }, “my_reverse_edge_ngram_analyzer”: { “tokenizer”: “keyword”, “filter” : [“lowercase”,”reverse”,”substring”,”reverse”] }, “lowercase_keyword”: { “type”: “custom”, “filter”: [“lowercase”], “tokenizer”: “keyword” } }, “tokenizer”: { “my_ngram_tokenizer”: { “type”: “nGram”, “min_gram”: … Read more