You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Forum search is broken after switch to image.sc #15
It's not just changing the URL. The new forum server detects that our scijava-search is a crawler. I saw that by comparing the HTML source code (1) of the web search result using Chrome with the HTML response our search plugin gets (2). While (1) contains a list of search results, (2) does not. Furthermore, the body tag for example is different:
1:
<body class="crawler">
2:
<body class="">
Is there anybody who can assist me debugging this on server side? Would be nice if we could reactivate the forum search. If not, I would vote for removing it temporarily from the distribution.
@haesleinhuepf I suggest you post this question on https://meta.discourse.org. The Discourse team monitors it, and can answer questions about what is going on here, and the best way forward.
@haesleinhuepf did you make a post on https://meta.discourse.org in the end? If so, can you link it here? It would be nice to get the forum search working again 🙃
IMHO this is obviously an configuration issue of the discourse system. It worked on the old server but not on the new. Would be cool to compare configuration files. We need someone with access to the config files to debug this. Do you have access to the config files?
The image.sc forum instance is hosted by Discourse, so we don't have direct access to the config files. But in the admin interface of the forum, we have these settings:
I just added image.sc to the exclude rel nofollow domains setting. How can I test if that makes a difference? @haesleinhuepf Do you think other settings are required, and if so, can you suggest?
Activity
ctrueden commentedon Sep 4, 2018
@haesleinhuepf I suggest you post this question on https://meta.discourse.org. The Discourse team monitors it, and can answer questions about what is going on here, and the best way forward.
imagejan commentedon Oct 1, 2020
@haesleinhuepf did you make a post on https://meta.discourse.org in the end? If so, can you link it here? It would be nice to get the forum search working again 🙃
haesleinhuepf commentedon Oct 2, 2020
Hey @imagejan ,
IMHO this is obviously an configuration issue of the discourse system. It worked on the old server but not on the new. Would be cool to compare configuration files. We need someone with access to the config files to debug this. Do you have access to the config files?
Thanks!
Cheers,
Robert
haesleinhuepf commentedon Oct 2, 2020
The crawler settings for example would be interesting to look at:
https://github.com/discourse/discourse/blob/e0d9232259f6fb0f76bca471c4626178665ca24a/spec/components/crawler_detection_spec.rb#L22
imagejan commentedon Oct 2, 2020
The image.sc forum instance is hosted by Discourse, so we don't have direct access to the config files. But in the admin interface of the forum, we have these settings:
I just added
image.scto the exclude rel nofollow domains setting. How can I test if that makes a difference? @haesleinhuepf Do you think other settings are required, and if so, can you suggest?imagejan commentedon Oct 13, 2020
I quickly browsed some topics on meta.discourse.org, and it seems the best way to submit a search query is using the json-based query:
https://forum.image.sc/search/query.json?term=Threshold
That way we avoid having to parse HTML (which is the way it's currently implemented, right, @haesleinhuepf?).