Search not indexing

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/28/2008 9:37:45 AM
Gravatar
Total Posts 48

Search not indexing

Hi there,

For some reason my mojo site has stopped indexing content and the search returns 0 results. I've deleted the files in "/Data/Sites/1/index" as suggested in another post and tried the search again but it still doesn't work. I did notice that no new files were in the index folder after i ran the search, which is obviously why the site had no new content indexed.

The site is running in a medium trust environment and it has the folder specified in the web.config file.

Can anybody point me in the right direction to fix this?

Thanks in advance for any help
 

4/28/2008 9:41:12 AM
Gravatar
Total Posts 18444

Re: Search not indexing

Most likely permissions on that folder have somehow changed and it is no longer writable.

You may get some clues if you clear the error log, then do a search then check the error log and see if any clues.

Hope it helps,

Joe

4/28/2008 9:56:50 AM
Gravatar
Total Posts 48

Re: Search not indexing

Hi Joe,

wow that was a fast response, thanks!

When you say "error log" do you mean the "System Log" located under the Admin menu?

If so i've checked it and there is nothing showing in it at all. I've recreated the index folder and made sure it has the correct permissions but still nothing.

Thanks,

Reiss

4/28/2008 10:00:26 AM
Gravatar
Total Posts 18444

Re: Search not indexing

Are you missing any of the indexbluilder files? There should be a number of files in the /Setup/indexbilderconfig folder. Each file is about 1kb in size. Are they present?

Joe

4/28/2008 10:15:21 AM
Gravatar
Total Posts 48

Re: Search not indexing

Hi Joe,

I have the following files in the indexbuilderconfig folder:

000_placeholder.config
blogindexbuilder.config
eventcalendarindexbuilder.config
forumthreadindexbuilder.config
galleryindexbuilder.config
htmlcontentindexbuilder.config
linksindexbuilder.config
sharedfilesindexbuilder.config

I uploaded the above files again just to be sure. When i run a search now I get this message next to the search box:

"The Search Index for the site is currently being built. Please wait a few minutes and try your search again."

However, no files are created in the index folder and the "System Log" is empty.

Thanks,

Reiss

 

4/28/2008 10:21:50 AM
Gravatar
Total Posts 18444

Re: Search not indexing

Are you sure the path for <add key="Lucene.Net.lockdir" value=...  pointing to the /Data/Sites/1/index folder is correct? Is it possible your host moved your site to a new physical path and this setting is no longer correct?

I'm running out of ideas.

Joe

4/28/2008 10:32:11 AM
Gravatar
Total Posts 48

Re: Search not indexing

Hi Joe,

Yeah it's definitely the correct path. When I say there is nothing in the "System Log" I mean there is nothing e.g. no "currentlog.config" under the Data folder. Do you think this problem is linked?

Thanks,

Reiss

4/28/2008 10:34:53 AM
Gravatar
Total Posts 18444

Re: Search not indexing

Yes, that tells me that no matter what you may think, the Data folder and its children are not all writable. Something has changed and the user that the web app is running as does not have write permission to needed folders.

Joe

4/28/2008 10:43:52 AM
Gravatar
Total Posts 48

Re: Search not indexing

Hi Joe,

Would the file manager still write to the folder if that was the case? I tried it and it can create new folders and upload files to the Data folder.

Thanks,

Reiss

4/28/2008 10:45:43 AM
Gravatar
Total Posts 18444

Re: Search not indexing

Can you create files or folders in the index folder?

4/28/2008 10:48:58 AM
Gravatar
Total Posts 48

Re: Search not indexing

Hi Joe,

Yeah I can create folders and upload files to the index folder. I can rename them to.

Thanks,

Reiss

You must sign in to post in the forums. This thread is closed to new posts.