Search not including "forums" and its subpages

We installed the extension “Forum Application” and find its features to be very helpful.
However, what we can’t figure out is why the XWiki search is not returning results from within it.
After install, the extension created a “Forum” page and subpages. None of which are searchable.
We’re using the “Solr” search option within XWiki.

Thanks.

[Extension Link: GitHub - xwiki-contrib/application-forum: Forum Application]

Indeed I can reproduce it. As far as I can see the app (wrongly) created hidden document for the forums and subjects which does not make much sense.

The best would be to report the bug on Loading... (it’s not already there).

It appears the extension also hid the checkbox to hide/unhide a page. Is there a way to make these pages unhidden without that checkbox? Wondering if I can get them to be searchable by unhiding them. I do realize there is some risk to doing this but we’re currently in a trial phase with Xwiki so we won’t effect anything in prod. Also, I’m curious if there’s a way to tell Solr to return hidden page results as an alternative? We really like Xwiki but the features this extension provides are considered important the requirements document; however, not having a searchable forum is a definite problem.

I doubt that the extensions does this. So if you navigate to one of the forum hidden pages and you edit it in wiki mode for example you don’t see the checkbox in the right panel?

The hidden feature is described in this doc: http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HHidingPages. If users have enabled “see hidden docs” in their profile they’ll see the search results you want.

It should also be possible to modify the search code itself but that’s more involved and simply unhiding the forum pages should be enough and it’s simpler.

If you edit the page with the default editor then you see the sheet, not the wiki editor, and thus you don’t see the hidden checkbox.

@rreese.q: To un-hide a page, you need to be an advanced user (see your user preferences) and edit the forum page with the “wiki editor” or the “wysiwyg” one. See: http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HAdvancedMode

I hope it helps,

Guillaume

@rreese.q I found Loading...

This is not true. You see hidden checkbox with the default editor too. But maybe you need to be an advanced user indeed, I’ll update the doc.

Yes it is:

Even with the default panels (when a sheet is displayed, here the dashboard):

ok we were not talking about the same thing Guillaume. I was talking about a standard page. So indeed if the page has some custom sheet, you won’t see the side panel.

BTW just checked and simple user can see the hidden checkbox too.

Yes but simple users cannot choose the editor to use.

Thanks to @gdelhumeau for the explanations and sorry for doubting his answer! (I was thinking about it in a different context).

I’ve now updated http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HHidingPages with all details.

PS: It would be good to follow our documentation strategy so that we continuously improve our doc :slight_smile:

Thank you to all - I had no idea there was a “simple” and “advanced” user mode.
Switched to advanced and specifically opted for the “Wiki” edit mode - and there it was, the hide/unhide page checkbox.

I unhid one of the Q’s as well as the A’s within the thread and suddenly they were searchable.

This is a great first step - but here’s the killer - the behavior of this extension is to hide the newly created page and all newly created answers by default. Therefore, it’d be an impossible feat to go through and unhide them every time.

Question: Is there a field for this in in the database that I could script a hourly toggle of newly created Q & A’s to not-hidden? Trying to find a way to get the pages unhidden so they’re searchable.

I guess, we could ultimately just turn on hidden pages in search results but I would imagine that is going to add a whole lot of other yuck to search results.

I appreciate the pointer to the bug on jira. I asked them if they’re going to resolve but it hasn’t gone anywhere - unfortunately I sparked the first activity on it since what appears to be 2014!

Any help is appreciated. Thanks!

A gentle nudge to see if anyone has any tips in regards to my reply above. Thanks!

Hello.

Currently I think no-one us working on fixing XAFORUM-144 (the issue describing your problem) so either:

I think the XWiki team will fix it sooner or later, but it’s not our priority right now :slight_smile:

Thanks,

Guillaume

Actually this project is not supported by the XWiki Core Dev Team (http://dev.xwiki.org/xwiki/bin/view/Community/Committership - ie the committers of the xwiki github organization who develop the core of XWiki). It’s a contrib project supported by contributors (I know that the XWiki SAS company regularly contribute to it though through some contributors). Said differently the XWiki Core Dev Team supports all code that is used by XWiki Enterprise. The forum app is not part of XWiki Enterprise.

Thus you could ping XWiki SAS (it’s the top sponsoring company, see https://www.xwiki.org/xwiki/bin/view/Main/Supporters/SponsoringCompanies/) if you need something urgently.