Rebuilding the Search Index functionality?

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.
8/23/2010 7:39:58 AM
Gravatar
Total Posts 3

Rebuilding the Search Index functionality?

Hi,

      Rebuilding the Search Index functionality semms not working, can you please tell me the steps to know how is working functionality?

As i have created a new page called 'kumar' , given permission to all user, and added page keywords, page description

after creating this new page , i tried to get the page from search  so i entered page keywords but still it says no result found

please suggest

 

 

thanks

 

8/23/2010 7:51:27 AM
Gravatar
Total Posts 18439

Re: Rebuilding the Search Index functionality?

Hi,

First, in order for a page to be indexed it must have a feature on the page that supports search, like you need at least one html feature or blog etc on the page.

Second, if you really want to index the keywords and meta description you will need to add this to your user.config:

<add key="IndexPageMeta" value="true" />

then touch Web.config to make it reload settings, then rebuild the search index again.

However, there is a negative side effect of doing this. It is far better if the actual content in the html or other feature matches the search and to not index the meta data. What will happen if the content contains the word and the keywords are indexed and also contain the word, you will see 2 results in the search results, one for matching the html content and one for matching the meta data of the page.

So it is better if the internal search does not index the meta data but the content does have the search term, then it will return only one match in search results.

Hope it helps,

Joe

8/24/2010 4:13:47 AM
Gravatar
Total Posts 3

Re: Rebuilding the Search Index functionality?

hi,

    thanks for your reply,one more question,

 i want to give option to user to search for content pages based on content type, keywords, title and status of contentpage(published or unpublished),

how to index on these items?

how to proceed to do that please suggest?

 

thanks

8/24/2010 7:36:03 AM
Gravatar
Total Posts 18439

Re: Rebuilding the Search Index functionality?

sorry but you ask for things that are not currently supported

we do have support to filter searches by feature

title is indexed so if the user searches on a word that is in the title it will produce a result but we do not have a way to search only on title or keywords

unpublished content is not indexed until it is published

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