Hi, I am developing a search site which calls elasticsearch internally. I am using wildcard query to match entered text. everything works well when lowercase letters are entered. But when Uppercase letters are entered the results come up only for the complete word and not for the partial letters.
The word is queried in the below fashion.
var query=
{
"wildcard":{
_all:"* "+term+"*"
}
};
I have not used any custom filters or analyzers for the index. I just create an index and insert strings into the types.
Please could someone tell me what is wrong with my approach. Or any alternate suggestions are also welcome.
So what do you suggest me to use. I need search results on every string entered in the search bar. I tried using match, but it did not work as expected.
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.