search not displaying results

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/5/2011 10:27:32 AM
Gravatar
Total Posts 46

search not displaying results

Hi,

since creating the child sites, if i run a search of the site, for a well used keyword, it doesnt return any records in the search. has the index been created where i used the initalcontent feature? do i need to rebuild this index or am i missing something?

 

try this for yourself search for "cadets" www.sea-cadets.org/farnham/

mojoPortal Version 2.3.6.4 MSSQL
Operating System Microsoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Info v4.0.30319 Running in Full Trust
Server Time Zone GMT Daylight Time
Server Local Time (GMT 1) 05/04/2011 16:27:05
Greenwich Mean Time (GMT/UTC) 05/04/2011 15:27:05
FEATURE VERSIONS
Feature Schema Version
blog  0.0.2.1
contactform  0.0.0.6
eventcalendar  0.0.0.6
feed-manager  0.0.1.0
forums  0.0.2.0
imagegallery  0.0.0.8
linksmodule  0.0.0.9
pollfeature-byChristianFredh  0.0.0.5
sharedfiles  0.0.1.0
surveyfeature  0.0.1.7
webstore  0.0.7.0

4/5/2011 1:26:27 PM
Gravatar
Total Posts 18439

Re: search not displaying results

The initial content system does not trigger building of the search index, but the first time you do a search it will detect that the index does not exist yet and assuming file system permissions are correct it will then create it and start indexing the entire site. It is not instantaneous, but within a little while it should work. If you don't see any files under /Data/Sites/[SiteID]/index or if it fails to create the folder it means permissions are not correct.

See also

Site Search Overview

Rebuilding the Search Index

Hope it helps,

Joe

4/6/2011 7:24:05 AM
Gravatar
Total Posts 46

Re: search not displaying results

thanks for that joe, i added the showbutton thing to the user config and it showed up on the main site, but not the child sites.

do i only need to run it on the main site or go into every child site and run it? it doesnt seem to be doing it automatically, can you tell me what file permissions the folders need?

4/7/2011 10:16:09 AM
Gravatar
Total Posts 46

Re: search not displaying results

also strange issue, the search goes to the main site for results, and it doubles up the child folder, eg mainsite.com/childsite/childsite/thepagewithmatches.aspx

anything im doing wrong?

4/7/2011 12:34:44 PM
Gravatar
Total Posts 18439

Re: search not displaying results

The /App_Data and /Data folders need to be completely writable by the user that is the identity on the application pool so it can create folders and files. Permissions must be configured to propagate to all child objects so that newly created objects have the same permissions.

The index files will be created at /Data/Sites/[SiteID]/index if the permissions are correct, if not it will fail.

I am not able to reproduce the problem with the duplicated child folder, sometimes things like that may happen if you are using the IIS url-rwriter module you may have some rule there that causes the problem.

Hope it helps,

Joe

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