![]() |
|
Multiple-word tags return zero hits - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Multiple-word tags return zero hits (/thread-9645.html) |
Multiple-word tags return zero hits - ZenAtic - 2012-02-16 Hi, My photos have tags introduced with IDImager. Some of these tags consist of two or three words (like "history museum" or "John Smith"). I have uploaded these photos on ZenPhoto (theme used zpArdoise 1.4.0), and the tags appear neatly underneath the image. However if they are clicked, none of these multi-word tags seems to lead to a valid search. All the searches return zero results. I have tried in Options >> Search several combinations: I have exhausted all the 6 above combinations -- but to no avail. All my searches of multiple-word tags result in zero hits. Frustrating! (And of course, single-word tags are fine. And so are the manually entered searches of any of the elements of the multi-word tags.) Is there any other setting that I might be ignoring? Multiple-word tags return zero hits - bic - 2012-05-04 For me is working in 2 ways:
IMHO both methods have nasty consequences. It would be nicer to Multiple-word tags return zero hits - sbillard - 2012-05-05 Or you can just quote things that you want to treat as single entities. Tags are no different from any other search except for the ability to make an exact match. The latter is not practical or even useful for, say, descriptions. Multiple-word tags return zero hits - bic - 2012-05-05 While I totally agree with you about normal searches, where the most intuitive behavior for an "average" user is to treat spaces as AND, I think that tags are special beasts. They are like atoms, and you can't split atoms without generating a chain reaction (lol). Multiple-word tags return zero hits - sbillard - 2012-05-05 For "average" users you probably want to avoid multi-word tags in the first place. Multiple-word tags return zero hits - bic - 2012-05-05 That's what I'm going to do in my website, but I'm not sure if things are like you are saying. Multiple-word tags return zero hits - acrylian - 2012-05-05 I don't remember the change date as well and the reason was if I recall correctly because of other issues. Sbillard will be able to tell more. A suggestion to keep multipart tags: Try using a divis or an underscore(something-else(something_else) and use the tag suggest plugin for the search form to give your visitors a guide. Multiple-word tags return zero hits - bic - 2012-05-05 Yes, I've already used a divis for some tags (like still-life) and it works, that's a good idea. I'll try the suggestion plugin too. Multiple-word tags return zero hits - sbillard - 2012-05-05 I believe your memory is faulty. Having an ampersand in your tag text has never worked without quoting the string. Of course, if you clicked on a "tag" that would have been a link generated by Zenphoto, so the string WOULD have been quoted. Things are different when someone types the search. They may not know to quote. Maybe try the tag_suggest plugin. Multiple-word tags return zero hits - bic - 2012-05-05 Well, there must have been some misunderstanding. BTW I've tried to envelope tags in quotes, they are displayed in quotes in tag cloud and under images, but they are non processed in quotes by the search engine when you click on a tag link. Multiple-word tags return zero hits - sbillard - 2012-05-07 And I was not talking of the processing. It is what is processed. If zenphoto generates a link to a tag which contains characters that are search operators or spaces it will quote them. The quoting is required or the string will be incorrectly interpreted. Multiple-word tags return zero hits - bic - 2012-05-07 Do you think it's possible to generate quoting for multi-words tags when the search is called from a tag link? Multiple-word tags return zero hits - bic - 2012-05-07 It is quite easy at the end, in latest official build I tried replacing It worked on my local developing server. I immagine it works the same way in Multiple-word tags return zero hits - sbillard - 2012-05-07 You should create a trouble ticket. Be sure to detail the conditions leading to the issue. Multiple-word tags return zero hits - bic - 2012-05-07 Ok, I opened the ticket. I hope everything is clear, anyway I included a link to this topic. |