Filter search?

Hi,

i saw in my logfile that my users are often searching for stuff like "blue pictures", "green images" and so on.

as "pictures" and "images" is not part of the filename nor part of the tags, the search results are zero.

Is it possible to define a list of words which are being removed before the search is executed - or better - replaced? This way i could also handle characters like "ä" which are not part of the filenames or tags because in that case i use "ae" instead.

Thanks for your help!

Comments

  • acrylian Administrator, Developer
    You could do some base object model coding before you actually output the search results.

    Did you try the tag_suggest plugin so users get suggestions of actual tags assigned to help users search for actual "terms"?
  • fuzzi Member
    i activated the tag_suggest plugin but nothing really happens. if i enter my searchwords into the searchfield, there arent any suggestions. do i need to modify the theme in some way?

    about the base object model coding - can you please hint me to a page where i find some more information?

    thanks!
  • acrylian Administrator, Developer
    Do you actually have tags assigned? It should work as on the search form on zenphoto.org (not the one here on the forum!).

    Here is the general article about the object model that is the base of everything on Zenphoto:
    http://www.zenphoto.org/news/zenphotos-object-model-framework
    It is a bit advanced coding so if you are not familiar with object orientation it might be a bit hard to get into it.
Sign In or Register to comment.