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?
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.
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
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.
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
is working on a reply...