Copied to clipboard

Flag this post as spam?

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


  • Andrey 2 posts 22 karma points
    Sep 05, 2011 @ 20:09
    Andrey
    0

    Searching for multiple single or double quotes or space never returns

    Hi,

    When trying to search for quotes with no text between them (i.e. """") or a space, XSLTSearch falls into infinite processing and never returns. This probably has something to do with phrase-search and/or word delimiters. Is there a way to fix this and yet be able to search for phrases? 

  • Douglas Robar 3570 posts 4671 karma points MVP ∞ admin c-trib
    Sep 06, 2011 @ 12:01
    Douglas Robar
    0

    Yikes, that's a nasty bug!

    Let me look into it and see what I can find for solutions. Obviously I want to strip out irrelevant search terms but I'm also interested in why the xslt goes into an infinite loop in such cases.

    I'll keep you posted.

    cheers,
    doug. 

  • dwarakesh 50 posts 69 karma points
    Sep 06, 2011 @ 13:35
    dwarakesh
    0

    Hi

     In  XSLTsearch.xslt  

      <!-- display search box at the top of the page (the search box is always present even if no search was attempted) -->
           
    <xsl:if test="$searchBoxLocation='TOP' or $searchBoxLocation='BOTH'">

    <div class="xsltsearch_form">

     

    <----------  Dont know from which css they are refering Class=input-->

    <input name="search" type="text" class="input">

    <xsl:attribute name="value">

    <xsl:value-of select="$unescapedSearch"/>

    </xsl:attribute>

    </input>

    <xsl:text>&nbsp;</xsl:text>

    <----------  Dont know from which css they are refering Class=submit -->

    <input type="submit" class="submit">

    <xsl:attribute name="value">

    <xsl:value-of select="$dictionaryButton-Search"/>

    </xsl:attribute>

    </input>
    </div>

    </xsl:if>

    -------------------------------------------------

     

     

  • Douglas Robar 3570 posts 4671 karma points MVP ∞ admin c-trib
    Sep 06, 2011 @ 13:48
    Douglas Robar
    0

    @dwarakesh - XSLTsearch includes an xsltsearch.css file that has basic styling for the search form and results. (and next time, please start a new topic rather than jumping into a subject unrelated to your question, thanks!)

    cheers,
    doug. 

  • Douglas Robar 3570 posts 4671 karma points MVP ∞ admin c-trib
    Sep 06, 2011 @ 17:52
    Douglas Robar
    0

    Hi, Andrey,

    I've corrected the problem and will package up v3.0.3 tomorrow. Thanks for the bug report!

    cheers,
    doug. 

  • Douglas Robar 3570 posts 4671 karma points MVP ∞ admin c-trib
    Sep 07, 2011 @ 11:13
    Douglas Robar
    0

    Hi, Andrey,

    You'll find an update package for XSLTsearch 3.0.3 that fixes the problem. http://our.umbraco.org/projects/website-utilities/xsltsearch

    cheers,
    doug. 

  • Andrey 2 posts 22 karma points
    Sep 07, 2011 @ 12:26
    Andrey
    0

    Thank you very much, Douglas!

  • 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