Casper
Casper
Explore posts from servers
CC#
Created by Casper on 10/24/2024 in #help
Dynamic parsing different document types from Elastic Search
Hey, I just wanted to follow up 🙂
7 replies
CC#
Created by Casper on 10/24/2024 in #help
Dynamic parsing different document types from Elastic Search
I can show the model schemas as well for the classes in use from the SearchResult
7 replies
CC#
Created by Casper on 10/24/2024 in #help
Dynamic parsing different document types from Elastic Search
Yes I use NEST ElasticClient.SearchAsync:
var searchResponse = await _client.SearchAsync<SearchResult>(s => s
var searchResponse = await _client.SearchAsync<SearchResult>(s => s
.Index("global-dev") // Specify your index name
.From(0) // Starting from the first result
.Size(100) // Limit the number of results to 100
.Query(q => q
.MultiMatch(m => m
.Query("Bean") // Search for the term "Bean"
.Fields(f => f.Field("*")) // Search across all fields
)
)
);
var searchResponse = await _client.SearchAsync<SearchResult>(s => s
var searchResponse = await _client.SearchAsync<SearchResult>(s => s
.Index("global-dev") // Specify your index name
.From(0) // Starting from the first result
.Size(100) // Limit the number of results to 100
.Query(q => q
.MultiMatch(m => m
.Query("Bean") // Search for the term "Bean"
.Fields(f => f.Field("*")) // Search across all fields
)
)
);
7 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
quite impressive for sure
21 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
apart from that not a fan for sure
21 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
damn be the guy that invented javascript 😂
21 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
yeah unfortunately
21 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
not sure but seems it can get to under 10 MB https://github.com/dotnet/runtime/issues/80165
21 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
thanks ofr explanation - quite expected though I hate Javascript 😂
21 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
Dotnet 8 AOT
21 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
what about if compiled ahead of time?
21 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
I can see that
21 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
I hope to have support for C# as well
21 replies
CDCloudflare Developers
Created by Casper on 8/1/2024 in #general-help
Feature request: Additional Cloudflare workers programming languages
Cool
21 replies
CDCloudflare Developers
Created by Casper on 6/10/2023 in #general-help
DDOS protection
it works fine for Api, however it does mean I can not take advantage of traffic policing and caching and so on with Cloudflare for the initial request to download static site files, which would be nice
20 replies
CDCloudflare Developers
Created by Casper on 6/10/2023 in #general-help
DDOS protection
Hmm I think this is an error on my part because the issue only occurs when pointing to a static site which obviously is not relevant in terms of DDOS protection to my knowledge at least
20 replies
CDCloudflare Developers
Created by Casper on 6/10/2023 in #general-help
DDOS protection
@HardAtWork specifically I am having trouble proxying traffic from cloudflare DNS CNAME record to Azure Static Web Apps service
20 replies
CDCloudflare Developers
Created by Casper on 6/10/2023 in #general-help
DDOS protection
I will check that soon
20 replies
CDCloudflare Developers
Created by Casper on 6/10/2023 in #general-help
DDOS protection
I have tried getting proxy of the domains to work before but I have not succeeded at that yet. Do you know what the requirements are for this to work so I can implement ddos protection and is it possible for me to test if ddos protection is working properly by creating a small ddos attack by myself and targeting my domain?
20 replies