jDiction Forum
English => Install & Configure jDiction => Topic started by: Sven on July 03, 2014, 02:52:52 pm
-
Hi Harald and thank you for your great jDiction.
I have a problem with searching / finding.
Default language is german and following effects:
Searching a german word in the german site: works fine
Searching an english word in the in the german site: shows nothing, which is fine, too.
Searching a german word in the english site: shows results with german text and english title/link
Searching an english word in the english site: nothing - not fine
How do I get german results in the german site and english results in the english site?
I tried to understand your advices to Finarfin in "Searching with finder" at http://forum.jdiction.org/index.php/topic,360.0.html but didn't understand everything.
For example: you adviced him to reset com_finder and do a rescan. How do I do this? (Maybe this will already solve my problem.)
Can you help me?
My system:
jDiction 1.2.0 with Joomla 2.5.19
Checkpage:
everything green
Finder plugins:
All deactivated, only "Smart Search - jDiction content plugin" active
-
In the Backend in the Smart Search component you have 2 Buttons in the top right corner. Purge and Index (see Image). Use Purge and then use Index.
-
So I did, the list in the backend is now full of entries of type article, but it didn't help. Still the same.
Is the "Smart Search component" standardly included in joomla or a downloadable extension?
Why I ask this? My backend is German, too and so its name is just "Suchindex", but the top right corner looks nearly the same (Purge="Index leeren")
Do I have to use an other searching component than the standard one and just didn't realise it because of its German names?
-
please send me a pm with superuser access and I will look at it.
-
Sorry, unfortunately that is not possible.
The only thing I can do is sending you screenshots of the settings you would like to check.
-
Teamviewer?
-
Sorry, not possible, too.
My admin is very strict.
Screenshots are the only source of information I can offer to you. :-[
-
lol, ok I will try it anyway.
Could you please post a screenshot of the index?
-
Here you are...
-
That seams to be correct... maybe the index module is broken... I will check this.
-
Could you find something?
(I'm not in a hurry, just want to know.)
-
I tried it on jdiction.org and it works fine:
English word:
http://jdiction.org/en/component/finder/search?q=donate&Search=
http://jdiction.org/de/component/finder/search?q=donate&Search=
German word:
http://jdiction.org/en/component/finder/search?q=spenden&Search=
http://jdiction.org/de/component/finder/search?q=spenden&Search=
Now I'm a bit confused where the problem is...
I have the problem That I find donate in the german version, the reason for this could be the alias of the article but i'm not sure.
-
If I try a word which does only exist as an alias in my whole site (german and english), nothing is found.
So maybe the reason why you find "donate" in your german site could be an other, not the alias.
-
I removed the complete index except that page ;-) so you will not find any other article.
-
for example the word "Direct" is working and "bieten" also.
So I think the reason is the url or the alias...
-
OK, you're surely right.
If I try "Direct" in your search, there is only a result in English and none in German.
The other way around with "bieten".
What could I change in my site to get the same effect?
-
Check you search term, maybe you used the same words in the Article Title?
-
Well, in some cases the Article Titles are the same in English and German.
In some cases they are different.
But it can find neither English article titles nor aliases nor content text in the English site.
If the German and English Article Titles are the same or not seems to make no differnce.
I tried many different search terms.
-
you mean you find no english article on the english site?
thats strange... but your screenshot shows english articles in the index so it have to to find it...
-
Yes, i don't find any english content (article, menu, ...) on my english site.
Another strange thing:
After having purged my whole index with the result of no entries in my index-list I can still find german articles in my website.
The index (empty or full) seems to have no effect on the searching results.
-
You may use the wrong frontend component.
Joomla has 2 search engines. Jdiction supports only "seachindex" aka "com_finder" please check this.a
-
Where do I check this?
-
it depends con the menu item.
open this url: index.php?lang=en&option=com_finder&view=search&q=<searchterm>
this would use com_finder
see attachment for correct component.
-
Obviously this was my mistake.
I had chosen "Search Form or Search Results" and not what you showed in the screenshot.
After having changed it, the search shows english results in the english site.
SOLVED!
Sometimes the search with "searchindex" shows other results compared to those I got before the change.
But this has nothing to do with jDiction and I will check this later.
Thank you for your great support, Harald!!!
-
its called "smart search" not "searchindex" was my fault.
smart search is a fulltext search while the normal search is just a string comparison.