Copied to clipboard

Flag this post as spam?

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


  • Daniel Palm 36 posts 148 karma points
    Dec 09, 2014 @ 08:46
    Daniel Palm
    0

    AND Search in Examine

    Hi all,

    I have a working XSLT search function in an Umbraco 6 web. 

    <xsl:variable name="searchResult" select="Examine:SearchContentOnly(concat('*', umbraco.library:RequestQueryString('query')), true())"/>

    Searching for multiple words produce a OR kind of result. How do I build a AND search? Could someone point me in the right direction.

    Thanks

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 09, 2014 @ 09:42
    Dave Woestenborghs
    0

    I think you need a + before each search term in your query. But I can be wrong.

    Here is a an excellent post on examine http://umbraco.com/follow-us/blog-archive/2011/9/16/examining-examine

    Dave

  • Daniel Palm 36 posts 148 karma points
    Dec 09, 2014 @ 11:26
    Daniel Palm
    0

    Just to clarify: I´m not using the package XSLTsearch.

    + doesn´t work 

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies