Jump to:

23369 Posts in 18155 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Search shows old results

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 320 Views
  • jseth
    Avatar
    Community Member
    98 Posts

    Search shows old results Link to this post

    I'm using silverstripe 2.4.4. I have a search feature included in the site. I have replaced a file with an updated one. When I do a search on the site, in the results I get the new file displayed, and also a result for the old file, which does not exist any more, resulting in a bad link being displayed. I have tried refreshing the browser which did not work in removing the bad result from the result list. I's just a simple $SearchForm in the header with a Page_results.ss text doc to display the results. I never noticed before if old results appeared, except for this time when I actually checked to see that the updated form would appear in the results. It does, but the old form link is still appearing also. Does anyone know how to resolve this? Thank you.

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Search shows old results Link to this post

    What search engine are you using? Sphinx, Lucene or just the out of the box full text search?

    If you're using just the out of the box full text search version open up the Images section in the CMS and click the 'Look for new files' button in the top right. That will sync your filesystem and database.

  • jseth
    Avatar
    Community Member
    98 Posts

    Re: Search shows old results Link to this post

    Thank you! I am using "just the out of the box full text search". I did not know about the Look for New Files.

    320 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.