I read about search_analyzer and I want to implement it in my search query I didn't follow a documentation because I didn't find one that do exact as I want.
The full problem is I'm new to Elasticsearch and I'm trying to do terms query, I found out that when I try to search for a term that consist of two words and on of these words are common it will not be specifc and the reason of that is the field type is text. I try to re mapping it and reindex it and it didn't work, so now I try if I can apply the search analyzer keyword
I'd recommend to provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.
A full reproduction script is something anyone can copy and paste in Kibana dev console, click on the run button to reproduce your use case. It will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.
Sorry I'm not understanding what excatly you mean, all my code is consist of two things: the second one in my replay is the query, and the other one is javascript code that index my data from json file
I get it now, but literally my process is start my JavaScript code that read the data and load to Elasticsearch and Elasticsearch map it by default, then I run my query using postman
I solve the main the problem here that I want to use terms query but my field is text,
I check my index mapping for that specifc field and it looks like this
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.