Couln'nt find case_insensitive option in High Level Client Term Query(NEST)
See original GitHub issueHi, I am using ElasticSearch version 7.11. My TermQuery only returns case-sensitive matching results,to avoid that I set case_insensitive as true in DSL term query like below and it returns data as expected.
{
"query": {
"term": {
"title": {
"value": "BIG THEORY",
"case_insensitive": true
}
}
}
}
But when I am trying to implement in code using High Level Client [Nest], could’nt find the option to set case_insensitive as true.
var searchResults = eClient.Search<Dictionary<string, object>>(s => s
.Index("wss")
.Query(q =>
q.Term(t => t.Field("title").Value("BIG THEORY"))
)).Documents.ToList();
In above code how should I set the case_insensitive option as true in Term Query.
Thanks in Advance
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Could'nt set case_insensitive option in Nest - Elasticsearch
Hi, I am using ElasticSearch version 7.11. My TermQuery only returns case-sensitive matching results,to avoid that I set case_insensitive as ...
Read more >How to make a Nest Elasticsearch case insensitive
I'm using the Nest.ElasticSearch library for .Net. And i have a model that i use for the index, which has a field i...
Read more >Support case insensitive search on new wildcard field and ...
Currently the wildcard field only supports case sensitive search but it is vital that we find a way to offer case insensitive search...
Read more >Users expect a way to be more precise (exact ...
I believe our Elasticsearch code search is always case insensitive. Is it possible you are you using basic search (which will happen if ......
Read more >Google Sheets Query function: Learn the most powerful ...
Learn how to use the super-powerful Google Sheets Query function to analyze ... The keywords are not case sensitive, so you can write...
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
@stevejgordon Thanks !!
@Sangeetha-Murugesan Yes, absolutely! I’m working on it as we speak, but it won’t be available until the next release so I wanted to give you a workaround until we have a date for 7.12.0.