solved Search reset glitch?

researchcooperative
@researchcooperative
4 years ago
694 posts
I have a search box that allows me (and any site visitor) to search across all member profiles in my network.

Tonight I tried search for a person with two names, but could not find him (he may not be a member). To broaden the search I pushed the reset button next to the search box, and entered just one name.

Immediately the two name search repeated itself. Aha! I need to reset caches in ACP!

So I reset caches, and the single-name search worked.

Wonderful but not wonderful: the search function is there for visitors and network members who cannot reset the site caches, and should not have to.

Have I discovered a glitch?

This would be a major issue if it is a glitch; more like a spanner in the works.

I am I not understanding something? All advice welcome.


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)

updated by @researchcooperative: 03/13/21 04:55:08AM
paul
@paul
4 years ago
4,326 posts
I've just tried this on your site here and not sure if I'm seeing the issue - https://researchcooperative.org/profile

Can you detail the exact search terms you are using and what you expect to see so that I can check it out?
Thanks


--
Paul Asher - JR Developer and System Import Specialist
researchcooperative
@researchcooperative
4 years ago
694 posts
I tried Andrew Davis, then Davis, then Andrew. See attached screen shots. The glitch happened again this evening.

1. Searched for full name.
2. Searched for Davis after reset (see 11.2 kb file). Screenshot show setup for the search.
3. Observed full name results after pressing the search button at step 2. See 19.5 kb file.
4. Searched for Andrew after reset (see 46.kB file). This gave results only for Andrew.
It is clearly a caching problem. Perhaps it is specific to my home computer for some reason.

By the way, there is no member with this name, so an exact search result would give zero profiles. As it is set up, the search system looks for similar names so pulls up many different profiles of people with names that are Andrew something or something Davis, etc.

Let me know if I should shift this to a personal ticket.


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)

updated by @researchcooperative: 11/16/20 04:47:40AM
paul
@paul
4 years ago
4,326 posts
What page is this on?


--
Paul Asher - JR Developer and System Import Specialist
researchcooperative
@researchcooperative
4 years ago
694 posts
It's on https://researchcooperative.org/profile


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)
paul
@paul
4 years ago
4,326 posts
As you say, searching for Andrew Davis returns all profiles that contain Andrew or Davis in their info. When you search for just Davis it does return some of the same profiles, as expected.
If you want an absolute search for Andrew Davis, put it in quotes - "Andrew Davis"
hth


--
Paul Asher - JR Developer and System Import Specialist
researchcooperative
@researchcooperative
4 years ago
694 posts
I understand all that. What bothers me is that after a non-exact search for Andrew Davis, and after resetting for a new search, and after entering just Andrew, and the confirming visually that just Andrew is in the search box, the system gives me the results for Andrew Davis again.

What I want is for the search not to be hindered by a need for cache resetting, which is something that only Admin can do, and not my members when they try to use the search function.

For me the issue is highly repeatable. I log out, log in again, and it happens again. I log out, and search as a visitor, and it happens again. It happens on the Firefox browser. And it happens on the Compass Browser.

Somehow, it seems that the browsers are controlling what happens in the website search box. So this is something that other people are likely to experience when using the search system.


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)
paul
@paul
4 years ago
4,326 posts
I'm not seeing that. See my screenshots -


--
Paul Asher - JR Developer and System Import Specialist
researchcooperative
@researchcooperative
4 years ago
694 posts
OK. I should try other computers and internet connections. It may take some time as I am working from home on just one computer recently. Thanks.


--
PJ Matthews, Kyoto
Migrated from Ning 2.0. Now at Jamroom 6 beta and using Jamroom Hosting for The Research Cooperative (researchcooperative.org)