Rebuilding smart search indexex

jeff McDaniel asked on March 9, 2017 23:12

Hi all,

I am attempting to rebuild some of my smart indexes. The search was broken on my site and I haven't found a way to fix it so I figured re-building the indexes would be a good place to start. The process tasks has a bunch of tasks in the smart-search Tasks module but it doesn't appear to be doing anything. And when I try to rebuild the indexes myself I get this error.

An error occured while obtaining the index writer. This may be caused by a fatal error or index corruption. Consider rebuilding the index if the problem persists.

I can click the process tasks button myself and view the progress, but when I view it it gives me a message that the task is not running. Has anyone seen this before? Where would I look to fix the index corruption? I've tried deleting and re-creating but I haven't had any luck. I'm open to try anything, and am open to any suggestions.

Thanks Jeff

Correct Answer

jeff McDaniel answered on March 13, 2017 20:29

Hey Brenden, it was a permission issue. Thanks for your help

1 votesVote for this answer Unmark Correct answer

Recent Answers

Brenden Kehren answered on March 9, 2017 23:26

What kind of environment are you in? On-premise? Azure? Amazon?

I'd check the actual smart search index files on the drive. You can find them under /App_Data/CMSModules/SmartSearch/<index code name>

Delete the files in that directory and attempt to rebuild the index. Most likely a corrupt file in there.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.