Search not working
If I try to do a search at my forum and tell it to "Search in topic subjects only" as shown in the attached image I never get any results returned. It always just says "No results found" even if I know what I am searching for is in the topic subject. Is this a known issue or only happening on my forum?
Re: Search not working
Reply #1 –
Not a known problem to me.
What search method are you using? (admin->forum->search->search method) and what options have you enabled there?
Re: Search not working
Reply #2 –
Here is a screenshot of my settings.
I did try the search here at this forum and it seems to work OK. But not in mine.
Re: Search not working
Reply #6 –
Can you give an example of a word you are trying to search?
Re: Search not working
Reply #7 –
weather
And yes there is a topic with "weather" in the title.
Just testing a little further...
I have boards that are visible to guests, boards that are only visible to registered users, and other boards that are only available to users that are in a group called "Social Members". It appears the search is only failing if the topic is in one of the boards that are only available to the members of the "Social Members" group. So I assume this may have to do with board permissions. Haven't had a chance to investigate any further. I know in SMF it was working across all groups.
Re: Search not working
Reply #8 –
After some more testing...if I search for a term that is the title of a topic that is accessible to guests the search works but if it is a topic that guests can't see the search fails.
Re: Search not working
Reply #9 –
Looking through permissions I'm not finding anything that will fix this. Can someone tell me if the search here at this forum will search topic subjects that are not visible to guests and actually find them. I can search on the exact name of a topic and if it isn't visible to guests it will not find it.
Re: Search not working
Reply #12 –
Sorry, works at my 1.0.1.
I made two boards visible only for members, not guests. In one of this boards exists a topic named "Zukunftsgestaltung".
1. If I search as a guest, I can't find this topic. As it should be.
2. If I search as a member who has access to this board (and the topic within) the search finds this topic.
See the attachments.
Re: Search not working
Reply #14 –
I think I can confirm it on my forum as well with at least 1 word: "Regolamento".
Sorry, something happened, I have to repeat the tests.
It's an import from 1.1.
The word appears in the body of about 58 messages and in the subject of at least three, two in open boards, one in a moderators-only board. Additionally, one of these three topics has the word in the body too, while the other two not.
In a "normal" search (i.e. "subject only" option NOT set) the search returns 58 messages: all those that have the word in the body, the two where the word appears only in the subject are not found.
If I search only in the subject the topics are not returned.
Even restricting the search only to the board, no results are returned.
I tried with no index, fulltext index, custom index and with enabled or disabled "match whole words only".
In order to exclude some placement effect I posted three additional topics with subjects: "regolamento test", "test regolamento", "test regolamento test".
Not a single result.
Spuds, if you have any suggestion on how to debug it, let me know. In the meantime I'll try to log the queries run.