Copied to clipboard

Flag this post as spam?

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


  • Moran 285 posts 934 karma points
    May 01, 2014 @ 13:04
    Moran
    1

    Search doesn't work after publishing the website

    Hi

    After I publish my web site using visual studio I can't seem to make the search work, every query I enter returns 0 results.

    This is my publish profile:

    <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <PropertyGroup>
        <WebPublishMethod>FTP</WebPublishMethod>
        <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
        <LastUsedPlatform>Any CPU</LastUsedPlatform>
        <SiteUrlToLaunchAfterPublish>http://aradr.activenet.co.il</SiteUrlToLaunchAfterPublish>;
        <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
        <ExcludeApp_Data>False</ExcludeApp_Data>
        <publishUrl>82.80.211.89</publishUrl>
        <DeleteExistingFiles>True</DeleteExistingFiles>
        <FtpPassiveMode>True</FtpPassiveMode>
        <FtpSitePath>/vps_2651a/aradr.activenet.co.il/wwwroot</FtpSitePath>
        <UserName>XXXX</UserName>
        <_SavePWD>True</_SavePWD>
      </PropertyGroup>
    </Project>

    I made sure that the files:

    1. ezSearchBoostrapper.cs
    2. Our.Umbraco.ezSearch.dll
    3. Template files pratials and View
    are present and included in the project.

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    May 01, 2014 @ 15:03
    Matt Brailsford
    101

    Hi Moran,

    I can't say I've used that method of deployment before, but I would suggest checking that your Lucene indexes are being copied, or even better, after deployment, log into the developer section and rebuild the indexes via the lucene management dashboard (if you expand each index, in the dev tools heading, there should be a rebuild index button).

    Hope that helps

    Matt

  • Moran 285 posts 934 karma points
    May 01, 2014 @ 18:17
    Moran
    0

    Thanks :)

    I rebuiled the index and it's working now.

     

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    May 01, 2014 @ 20:21
    Matt Brailsford
    0

    Great stuff! Glad it's working for you.

    If anything is ever not showing in the results, rebuilding the index is always the first thing worth trying (just in case :))

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft