#3092 - Search issues
| Identifier | #3092 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Search issues |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | search |
| Description | Couple of issues I am having with search, the first being no results for a single term (ie, Madonna) whereas a term such as 'Britney Spears' would return results when both exist in a Gallery.
The other problem I have noticed is that if you enter a meta tag such as '2017 Releases' there is no + automagically added between the two terms (which exist on a single line). Adding the + manually returns the results, so just wondering if there is any reason not to return on terms entered. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
Keyword search for spaces with keywords has now been improved for this case.
Not sure you got what I meant and I'm not sure I get what you meant about adding "'s around a single term. I don't need to do that on any other site search, you enter a single term like Madonna and if there's any results you get them.
This is a bit confusing to read, because "+" in a URL is a space. Also sometimes "%20" is used for the same thing. This is because URLs cannot contain spaces.
If it didn't have a "+" then that implies there was a space in the URL (which would be fine as the browser would auto fix that), or it was joined like "2017Releases" which I don't think is true.
I think you're actually saying you altered the search term in the search box (not the URL itself).
You are right there's a bug there, it should have quoted the tag in the tag link. I hadn't realised you were talking about tag links from content, I thought you were just talking about you typed in. I have fixed that for the next RC.
I wouldn't expect 'Except One' to return a result as both those words are likely 'stop words' in MySQL, i.e. ignored. If you put it in quotes though it will use a different algorithm that doesn't strip stop words out. I think. It gets complex due to the various limitations with MySQL, like the commonality limitation (i.e. if you have just 1 or 2 test content entries, search results may be missing because MySQL won't return more than 50% of a result set back to you).