First of all I'm using the lunr-languages plugin thus the behavior might be different. All documents, index and search terms used are Traditional Chinese.
I have successfully created a index with expected token, and there are two documents' field contain the same token, search result only present A document but not B. Here are the example:
A document (roasted-chicken) and B document (lemon-salt-chicken) Name field contain chinese term "雞" (which means Chicken in English), however only B document return as a result:
First of all I'm using the lunr-languages plugin thus the behavior might be different. All documents, index and search terms used are Traditional Chinese.
I have successfully created a index with expected token, and there are two documents' field contain the same token, search result only present A document but not B. Here are the example:
Part of the Index
A document (roasted-chicken) and B document (lemon-salt-chicken) Name field contain chinese term "雞" (which means Chicken in English), however only B document return as a result:
And my reference code in Gatsby gatsby-node.js
search.js
I know its quite difficult to troubleshoot for non-Latin language, but my only questions are:
Any response would be very appreciated! Thanks!