What kind of your document and query, you fail to search?
I think that “fui” and “jkt” synonym entries does not work, because “Florida International University” and “JKTyres” include UpperCase character.
Your filter chain has the synonym filter after the lowercase filter.
Your document data indexed all lowercase terms by your analyzer, but your query (ex: “jkt") expand “jkt” OR “JKTyres” by synonym filter.
However, I don’t know why “mlt” entry does not work, because “mit” entry is all lowercase character.
thank you for the response i will add "ignore_case":true and test
On Sat, Dec 14, 2013 at 7:33 PM, Jun Ohtani johtani@gmail.com wrote:
Hi paul,
What kind of your document and query, you fail to search?
I think that “fui” and “jkt” synonym entries does not work, because
“Florida International University” and “JKTyres” include UpperCase
character.
Your filter chain has the synonym filter after the lowercase filter.
Your document data indexed all lowercase terms by your analyzer, but your
query (ex: “jkt") expand “jkt” OR “JKTyres” by synonym filter.
However, I don’t know why “mlt” entry does not work, because “mit” entry
is all lowercase character.
Hi Jun,
Adding "ignore_case":true worked and for the "mit" there was some special
character between words a double space or something mit, mass marked in red when
i changed it to no space it worked. is there a specific format
for synonym file and what should be the character encoding.
On Saturday, 14 December 2013 19:33:21 UTC+5:30, Jun Ohtani wrote:
Hi paul,
What kind of your document and query, you fail to search?
I think that “fui” and “jkt” synonym entries does not work, because
“Florida International University” and “JKTyres” include UpperCase
character.
Your filter chain has the synonym filter after the lowercase filter.
Your document data indexed all lowercase terms by your analyzer, but your
query (ex: “jkt") expand “jkt” OR “JKTyres” by synonym filter.
However, I don’t know why “mlt” entry does not work, because “mit” entry
is all lowercase character.
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.