Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jul 15, 2011 @ 13:50
    Ismail Mayat
    0

    examine term with space issue

    i have got index created using standardanalyzer and my searcher is also using standard analyzer.  I perform search and i get no results.  The generated query looks like this

    +nodeTypeAlias:directoryitem -umbracoNaviHide:1 +directoryType:antique centre*

     

    if i paste the query into luke i get as expected results.  I am passing form field values to the search results page via a query string so i have something like 

    /directory-search-results.aspx?contents=&directoryType=Antique+centre

    i url encode and on the results page i url decode.  If i ammend the query string directoryType and remove +centre i get results.  Anyone seen this before?

    Regards

    Ismail

  • webangelo 107 posts 190 karma points
    Jul 15, 2011 @ 14:40
    webangelo
    1

    Ismail,

    Not sure if you saw this post, but if the two terms for which you are searching aren't close together, examine may not return it as a hit since it doesn't implement PhraseQuery.  We've had to manually break the search terms up and use a GroupedOr().

    http://our.umbraco.org/forum/developers/extending-umbraco/13786-Examine-Multiple-search-terms-vs-Phrases

    --Chris

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jul 15, 2011 @ 15:34
    Ismail Mayat
    0

    Chris,

    Many thanks that works a treat #h5yr!!!

    Regards

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft