jDiction Forum

English => Install & Configure jDiction => Topic started by: Sven on July 03, 2014, 02:52:52 pm

Title: SOLVED: Searching and finding
Post 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
Title: Re: Searching and finding
Post by: Harald Leithner on July 03, 2014, 02:56:46 pm
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.
Title: Re: Searching and finding
Post by: Sven on July 03, 2014, 03:40:18 pm
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?
Title: Re: Searching and finding
Post by: Harald Leithner on July 03, 2014, 04:43:18 pm
please send me a pm with superuser access and I will look at it.
Title: Re: Searching and finding
Post by: Sven on July 04, 2014, 08:37:56 am
Sorry, unfortunately that is not possible.
The only thing I can do is sending you screenshots of the settings you would like to check.
Title: Re: Searching and finding
Post by: Harald Leithner on July 04, 2014, 10:17:11 am
Teamviewer?
Title: Re: Searching and finding
Post by: Sven on July 04, 2014, 10:42:59 am
Sorry, not possible, too.
My admin is very strict.
Screenshots are the only source of information I can offer to you. :-[
Title: Re: Searching and finding
Post by: Harald Leithner on July 04, 2014, 11:01:13 am
lol, ok I will try it anyway.

Could you please post a screenshot of the index?
Title: Re: Searching and finding
Post by: Sven on July 04, 2014, 11:15:03 am
Here you are...
Title: Re: Searching and finding
Post by: Harald Leithner on July 04, 2014, 11:26:02 am
That seams to be correct... maybe the index module is broken... I will check this.
Title: Re: Searching and finding
Post by: Sven on July 11, 2014, 07:55:16 am
Could you find something?

(I'm not in a hurry, just want to know.)
Title: Re: Searching and finding
Post by: Harald Leithner on July 11, 2014, 01:33:49 pm
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.
Title: Re: Searching and finding
Post by: Sven on July 11, 2014, 03:44:43 pm
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.
Title: Re: Searching and finding
Post by: Harald Leithner on July 11, 2014, 03:50:44 pm
I removed the complete index except that page ;-) so you will not find any other article.
Title: Re: Searching and finding
Post by: Harald Leithner on July 11, 2014, 03:52:21 pm
for example the word "Direct" is working and "bieten" also.

So I think the reason is the url or the alias...
Title: Re: Searching and finding
Post by: Sven on July 11, 2014, 03:59:44 pm
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?
Title: Re: Searching and finding
Post by: Harald Leithner on July 11, 2014, 04:01:01 pm
Check you search term, maybe you used the same words in the Article Title?
Title: Re: Searching and finding
Post by: Sven on July 11, 2014, 04:16:58 pm
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.
Title: Re: Searching and finding
Post by: Harald Leithner on July 11, 2014, 04:19:21 pm
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...
Title: Re: Searching and finding
Post by: Sven on July 14, 2014, 09:11:10 am
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.
Title: Re: Searching and finding
Post by: Harald Leithner on July 14, 2014, 09:21:30 am
You may use the wrong frontend component.

Joomla has 2 search engines. Jdiction supports only "seachindex" aka "com_finder" please check this.a
Title: Re: Searching and finding
Post by: Sven on July 14, 2014, 10:35:40 am
Where do I check this?
Title: Re: Searching and finding
Post by: Harald Leithner on July 14, 2014, 11:32:21 am
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.
Title: SOLVED: Searching and finding
Post by: Sven on July 14, 2014, 12:46:43 pm
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!!!
Title: Re: SOLVED: Searching and finding
Post by: Harald Leithner on July 14, 2014, 02:20:07 pm
its called "smart search" not "searchindex" was my fault.

smart search is a fulltext search while the normal search is just a string comparison.