• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not working as expected with member only forums

Mr Lucky

Well-known member
#1
I was assuming that elastic search would give results based on he permissions of the seracher.

For example if there is a forum that is viewable only by registered members, then when a member does a search, there would be results from that forum.

However that is not happening.

Is there possibly some setting I'm missing somewhere?
 

Brogan

XenForo moderator
Staff member
#2
Search results take permissions into account.

Content will only be fetched if the user has permission to view it.
 

Mr Lucky

Well-known member
#3
Search results take permissions into account.

Content will only be fetched if the user has permission to view it.
OK well something is seriously wrong then as it's not finding stuff that I have permissions for. I guess I will need to submit a ticket.
 

Mr Lucky

Well-known member
#6
Can you link to an example thread/content which isn't being found via search?
No, because it's working again after rebuilding the search index.

Seems that upgrading to 1.4.4 was the issue. It may worth mentioning in Post Upgrade Checks to rebuild the search index.
 

Brogan

XenForo moderator
Staff member
#7
Upgrading doesn't require a rebuild of the search index.

Something else must have caused it.
You may have to do some investigation to determine why that content wasn't indexed.
 

Mr Lucky

Well-known member
#8
Upgrading doesn't require a rebuild of the search index.

Something else must have caused it.
You may have to do some investigation to determine why that content wasn't indexed.
What I realised was that before reindexing the only results from the search that came back were post upgrading, so wouldn't that imply it was the upgrade?
 

Brogan

XenForo moderator
Staff member
#9
If there was a general problem with the upgrade script we would have had many more reports.

It could be any number of things, including an add-on, server related, a problem with elasticsearch, etc.
 

Mr Lucky

Well-known member
#10
If there was a general problem with the upgrade script we would have had many more reports.

It could be any number of things, including an add-on, server related, a problem with elasticsearch, etc.
I believe you, just saying that as far as I know it was working before the upgrade. No addons were changed or added recently, then suddenly only search results post upgrade show.

EDIT: plus the host is one that comes highly recommended on here, including from staff I believe, and they advertise as being up on xenforo so I will ask them if they can investigate any server issues.