Then I searched for "R*" This gave me the 0 hits.
when i search for "r*" ,this gave me the 3 hits.
The wildcard search is a term search - the text isn't passed through the
analyzer.
If you use a query_string or field search instead, then the text IS
passed through the analyzer, and by default lowercase_expanded_terms is
set to true, so your search will work
Then I searched for "R*" This gave me the 0 hits.
when i search for "r*" ,this gave me the 3 hits.
The wildcard search is a term search - the text isn't passed through the
analyzer.
If you use a query_string or field search instead, then the text IS
passed through the analyzer, and by default lowercase_expanded_terms is
set to true, so your search will work
analyzer work first then index is created or index is prepared then
analyzer will works.
I don't understand this question, but: when you index text, the current
analyzer is used. If you change the current analyzer, the text that has
already been indexed won't change (until you reindex it).
When you search with a query string or field search, the same current
analyzer is applied
if i am using explicit analyzer setting ,is it required to do some
settings when index is prepared so that index uses the specified
analyzer.
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.