Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andy Dale 2 posts 22 karma points
    Aug 17, 2012 @ 18:54
    Andy Dale
    0

    XSLTSearch any word from comma separated terms

    Hello everyone,

    Just a quick question; does anyone know if it is possible to have a comma seperated value in the search query string for the XSLTSearch package. for example:

    "food, hot dogs, sausages, wurst"

    and any results for any of the seperate values retrieve results?

    Thanks,

    Andy

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Aug 17, 2012 @ 21:31
    Douglas Robar
    0

    Hi, Andy,

    XSLTsearch currently only does an 'and' search when you have multiple words. So searching for food hot dogs would search for any page that had all three terms somewhere in the search fields.

    Or, you can search for phrases by enclosing them in either single or double quote marks. Searching for food "hot dogs" would give results for pages that have both the word food and the exact phrase "hot dogs" somewhere within the search terms.

    There's currently no way to do an 'or' search beyond searching for each term individually.

    cheers,
    doug. 

  • Andy Dale 2 posts 22 karma points
    Aug 20, 2012 @ 10:58
    Andy Dale
    0

    Hey Doug,

    How's it going; hope your all well!

    Thanks loads that clears it up for me; will look at the possibility of searching each term individually.

    Cheers,
    Andy 

Please Sign in or register to post replies

Write your reply to:

Draft