By Ken on Wednesday, 01 October 2014
Posted in General Issues
Replies 18
Likes 0
Views 0.9K
Votes 0
Hi there, Just to inform that the search is not functioning well on my site (just the dev) after I upgrade. I disabled other plugins and it's still indexing and showing other results. Also the loose search was gone too (1.3.2). I also reindex finder and still no luck
Your absolutely right, this slipped right by me. It "appears to work" on my test site but not my main site. This is because the users are being completely disregarded, but objects (events, groups, ect.) are not. So the users are not being properly indexed in smart search. In addition to this when I search for "test", objects unrelated to the search come up considering that the test user owns that object (there is no mentioning of the word "test" outside of the username).
·
Wednesday, 01 October 2014 12:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ken,

Just to inform that the search is not functioning well on my site (just the dev) after I upgrade. I disabled other plugins and it's still indexing and showing other results.


Em do you mean after you disabled the other finder plugins ( e.g. group, albums, photos ) and when you upload a new photo, smart search indexed your new photo? Or do you mean after disabled these plugins, you still able to find photo items? If you are referring to the 2nd scenario, then most likely you did not purge your indexed items from your smart search. If you are referring to the 1st scenario, then can you pass me your Joomla backend url and your admin login?

Please advise.
Sam
·
Wednesday, 01 October 2014 16:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Josh,

This is because the users are being completely disregarded, but objects (events, groups, ect.) are not. So the users are not being properly indexed in smart search. So the users are not being properly indexed in smart search


Em, can you pass me your site access details so that I can take a look at your issue?

So the users are not being properly indexed in smart search. In addition to this when I search for "test", objects unrelated to the search come up considering that the test user owns that object (there is no mentioning of the word "test" outside of the username).


This is because when indexing the event detail, we actually added the event creator information. So I believe Joomla smart search pull the data based on the object's author as well

Hope this help and have a nice day
Sam
·
Wednesday, 01 October 2014 16:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Sam wrote:

Em, can you pass me your site access details so that I can take a look at your issue?


My site details should be attached to my stacked profile. So they are attached via the profile "forum tools". I added the "test" account as a friend of the stacked account just in case that helps with the search/testing. It's my test site, so your able to change what ever you want.
·
Wednesday, 01 October 2014 16:46
·
0 Likes
·
0 Votes
·
0 Comments
·
My site details are already here in the first post.

Here's the scenario
1. I disabled all the other finder and enabled only user
2. I purged everything and reindex (3 times)
3. I searched for a user, it still shows my images (which shouldn't since I disabled everything except user as seen on my first post, and also did reindex), also the loose search is gone which is present in 1.3.2 (searching nyler only shows nyler01 and not nyler02) before I upgraded.
Ken
·
Wednesday, 01 October 2014 17:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Josh,

Thanks. I went to your test site and disabled all the finder plugins except 'Smart Search - EasySocial Users'. I then purged your indexed items from Smart search and run the 'index' process again via Joomla smart search. It seems like all users was indexed correctly. Am i missing something here?

Or can you show me how to replicate this issue at your site?
Please advise.
Sam
·
Wednesday, 01 October 2014 19:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ken,

Thanks but when i access yoursite.com/administrator, it bring me to your site frontpage

also the loose search is gone which is present in 1.3.2 (searching nyler only shows nyler01 and not nyler02) before I upgraded.


We actually removed this loose search on the keywords in version 1.3.5 due to alot of confusion with the keywords search and actual search. In 1.3.2, what you search is actually the keywords. This confused the users and they think that is the actual search result

To test this again, you can enable the Joomla smart search module and Joomls Search search actually return you a list of keywords and you actually need to select one keyword to perform the actual search.

Hope this help and have a nice day
Sam
·
Wednesday, 01 October 2014 19:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there, that's quite sad to hear loosing the loose search. May I know what file should I retain to keep it from 1.3.2 to 1.3.6 since I myself need it (I actually loved it that way) or I can't upgrade forever.

Also, I updated my site details. It should be mysite.com/administrator?ryuusei
Ken
·
Wednesday, 01 October 2014 19:52
·
0 Likes
·
0 Votes
·
0 Comments
·
subscribe++
·
Thursday, 02 October 2014 04:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Did try overwriting my the files

components/com_easysocial/controllers/search.php
components/com_easysocial/themes/wireframe/search/default.item.mini.php
components/com_easysocial/themes/wireframe/search/default.list.mini.php
components/com_easysocial/views/search/view.ajax.php


with the 1.3.2 version, then everything seems to be not functioning. Reverted back to make it work (actually hate the way they did it in 1.3.5). Sam, can you send us a file to make it work like the old one?
Ken
·
Thursday, 02 October 2014 08:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ken,

I just tested with my local instance and it seems like placing those file you mention actually worked fine with my 1.3.6 instance. Anyway, attached the zip file contain the files I've placed in my 1.3.6 instance.

Copy 'search.php' into folder JOOMLA/components/com_easysocial/controllers/
Copy 'default.item.mini.php' into folder JOOMLA/components/com_easysocial/themes/wireframe/search/
Copy 'default.list.mini.php' into folder JOOMLA/components/com_easysocial/themes/wireframe/search/
Copy 'view.ajax.php' into folder JOOMLA/components/com_easysocial/views/search/

Last is to modify the language file 'JOOMLA/language/en-GB/en-GB.com_easysocial.ini' and replace below string:

COM_EASYSOCIAL_SEARCH_NUMBER_ITEM_FOUND_TOOLBAR="%s results found."

to:

COM_EASYSOCIAL_SEARCH_NUMBER_ITEM_FOUND_TOOLBAR="%s similar keywords found."

Let me know if the above work for you or not.
Sam
·
Thursday, 02 October 2014 11:20
·
0 Likes
·
0 Votes
·
0 Comments
·
That's weird, gonna check it now again disabling APC ^_^
Thanks Sam!
Ken
·
Thursday, 02 October 2014 11:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ken,

Yeah do let me know if the files work or not. By the way, your original issues ' I disabled other plugins and it's still indexing and showing other results', is this issue still present? I just logged in to your Joomla backend and i did not find any other items indexed in your Smart search except EasySocial users items.

Please advise.
Sam
·
Thursday, 02 October 2014 11:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks! It's working now
Ken
·
Thursday, 02 October 2014 11:33
·
0 Likes
·
0 Votes
·
0 Comments
·
I still miss being able to type part of a word and getting results. This is how Google and many other major searches operate. When I type part of "stac" (the whole word being stacked) it shows no results until I type the whole thing. Fortunately typing "Jake" (the entire name having a last name) works.

Sam wrote:

Thanks. I went to your test site and disabled all the finder plugins except 'Smart Search - EasySocial Users'. I then purged your indexed items from Smart search and run the 'index' process again via Joomla smart search.


Thanks, this seemed to have fixed the issue on my end. It was probably an indexing issue. I thought about doing that and probably should have. Part of me wasn't sure if doing that would remove the "evidence" that allowed you to figure out how the indexing went wrong. Oh well, no biggie. Glad that part is fixed.
·
Thursday, 02 October 2014 11:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Seems like APC is messing up with me, LOL! Thanks a lot Sam! A lesson learned that I should disable all the caching in my dev (lazy cloning the prod to dev, my bad)
Ken
·
Thursday, 02 October 2014 11:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Josh,

When I type part of "stac" (the whole word being stacked) it shows no results until I type the whole thing.


You are right, that is how it suppose to work with Joomla smart search when performing a search. When i said performing the search, i mean the actual search and not the keyword search

Thanks, this seemed to have fixed the issue on my end.


You are welcome. Glad to hear your issue now resolved
Sam
·
Thursday, 02 October 2014 11:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ken,

Thanks for the heads up. Glad to hear your issue now resolved

Have a nice day
Sam
·
Thursday, 02 October 2014 11:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post