Help Center

Powered by Minitek FAQ Book
Loading...

Report Bug | search in Persian text (Component Instances)

M
mohaPosted 2 years agoEdited 2 years ago

Hi; I think there is a bug in Minitek Live search (Component Instances) while searching through the Persian titles.
I set the parameters as following (in Component Instances):
Search in title = YES
Search for = ALL WORDS
Search for = MYCAT
Now I am going to check the module, I enter this phrase: "دردسرسا" (this Persian word has 7 letters without any space), then the dynamic live search retrieves the correct item (دردسرساز), But when I Push the Go button (open search result page), the message of nothing found appears on the screen. I repeated the search by entering this phrase: "دردسرس" (this Persian word has 6 letters without any space), both of dynamic live search and component search work correctly. Actually when I reduce the characters from 7 to 6 (دردسرسا to دردسرس) problem would be solved.
Could you please help me to solve it?

Thanks

Loading...
0
#2951

10 answers

M
MinitekPosted 2 years agoModerator

Not at the moment, but this issue is first on my list to be fixed on the next version.

M
mohaPosted 2 years ago

It seems there is not any solution....

M
mohaPosted 2 years agoEdited 2 years ago

Now I'm going to check the URL structure of the searching results page:

The algorithm for displaying the URL of the results page in English seems to be different from other languages:

M
mohaPosted 2 years ago

It seems that the issue is related to the number of Persian / Arabic characters entered in a line without a space character. If more than 6 letters are entered in a line (without hitting the space), and then the search button is hit, the component will not show any results.
Now I try Chinese. I type seven 汉 (a Chinese letter) in a line without space (the title of my article is 汉汉汉汉汉汉汉) and now I search... Again, no result was found(On the results page).
Now I try English letters. I type the word z seven times in a line without space (the title of K2 article is zzzzzzz) now I search. The component works properly.
The point I have come to realize so far is that the absence of a space character between the letters is decisive; For example, if a space character is entered between the letters of this phrase 汉汉汉汉汉汉汉, it becomes 汉汉汉 汉汉汉汉, the component works correctly by entering 汉汉汉 汉汉汉汉
Do you have any idea?
Thank you very much

M
mohaPosted 2 years agoEdited 2 years ago

Could you please check the following image:

M
mohaPosted 2 years agoEdited 2 years ago

Thanks for the reply; But Minitek Live search is much better than Minitek Smart Search.

Minitek Smart search needs indexing process, No module is provided etc.,

The issue of this topic is only in Component Instances (Search results page) and the dynamic live works correctly.

The algorithm of searching is not same?

Thanks

M
MinitekPosted 2 years agoModerator

I am sorry but I can not figure out what exactly is the problem in this case. The different direction of the language as well as the special characters are creating some issues that I can not solve.

Please use the Minitek Smart Search instead. It is designed from the beginning to support RTL languages and it will also be compatible with Joomla 4, while Minitek Live Search will not be developed for Joomla 4.

M
mohaPosted 2 years ago

Hi again; Could you please check th issue.

Thanks

M
mohaPosted 2 years ago

Hi; Yes, I have no problem with English words.

It is a problem related to the Persian language.

Configuration is correct.

You can Replicate this issue from your site. Please create a K2 item with this title = دردسرساز  

Then try to type this word into the search box = دردسرساز ****All letters must be entered****

The Dynamic live search is Ok and shows the K2 item, but when you push the search button, you can't find this K2 item in the Search results page and nothing found is there.

Thanks a lot

 

M
MinitekPosted 2 years agoModerator

Hi there,

Have you created a menu item as described in

https://www.minitek.gr/support/documentation/joomla/minitek-live-search/creating-a-menu-item

Also, you must configure the parameter Component results in the module parameters. This is important if you want to use the component page to show the results. The menu item selected in the Component results field is the menu item that the user is redirected to when the search button in the module is clicked. Make sure that this menu item is of type Minitek Live Search - Search results and that it has active component instances attached to it.

https://www.minitek.gr/support/documentation/joomla/minitek-live-search/creating-a-search-module