Editing and Indexing

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/9/2009 9:58:58 AM
Gravatar
Total Posts 14

Editing and Indexing

Is there any way to prevent multiple search results for the same piece of content if that piece of content is edited multiple times (other than manually re-indexing)?

1/9/2009 1:19:59 PM
Gravatar
Total Posts 18439

Re: Editing and Indexing

This appears to be a bug in the html module, it shouldn't do that. I'm looking into it as it is producable on my machine. Doesn't seem to happen in the blog, so I think it is isolated to the html content feature.

Best,

Joe

1/9/2009 3:18:17 PM
Gravatar
Total Posts 14

Re: Editing and Indexing

Actually, when I did a search for "Opgenorth" on the mojoPortal  site, your most recent blog post is listed three times in the results.

I DID find the Rebuild Search Index button option in the .config file and that has helped somewhat, but it would be nice not to have to re-index after every change.

1/9/2009 3:20:48 PM
Gravatar
Total Posts 18439

Re: Editing and Indexing

Yes, as I found out while debugging it, it was affecting all features not just the html module. I've got it fixed on my local copy and will have it fixed in svn trunk soon and follow up with a new release package asap.

Best,

Joe

1/10/2009 2:18:34 PM
Gravatar
Total Posts 18439

Re: Editing and Indexing

This is now fixed both in svn trunk and in the 2.2.8.2-b release.

Best,

Joe

10/27/2010 9:46:59 AM
Gravatar
Total Posts 49
TRIAD/Next Level Interactive

Re: Editing and Indexing

I am currently experiencing duplicate search results with both the HTML Module and Blog Module with version 2.3.5.3.

It seems to be only duplicating certain items. I'm trying to figure out the correlation.

Any suggestions?

Thanks

10/28/2010 11:09:07 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Editing and Indexing

We had the same issue several weeks ago, and resolved it by rebuilding the search index. I also enabled the ShowRebuildSearchIndexButtonToAdmins key in our user.config, so that if this happens again our webmaster can easily rebuild the search index herself.

I've been keeping an eye on it, but so far there hasn't been a recurrence of the duplicated search results. I'm not sure what caused it--this is probably one of those nagging type bugs that are extremely difficult to diagnose.

11/17/2010 10:22:29 AM
Gravatar
Total Posts 2

Re: Editing and Indexing

Sorry to tag onto a previous thread, but I have added the code <add key="ShowRebuildSearchIndexButtonToAdmins" value="true" /> to my Web.Config file. Where does this button display? I can't seem to find it. Basically, the reason I am looking for it, is I am hoping that it will fix my error. I was trying to refresh the search index manually, but I am getting errors. I am hoping using this button will resolve my issues.

11/17/2010 10:27:09 AM
Gravatar
Total Posts 108
Community Expert

Re: Editing and Indexing

you find the button in the SearchResults.aspx page of your site 

11/17/2010 11:04:34 AM
Gravatar
Total Posts 2

Re: Editing and Indexing

Thank you so much Leonjay!

12/6/2010 8:53:40 AM
Gravatar
Total Posts 36

Re: Editing and Indexing

Hello Jamie,

I have been trying to edit some content in my site. The flow of the links work fine, but when i click on the edit button it directs me to the right page to edit the content, but once i have made the changes and clicked on the UpDate button in bottom, its giving me this error.

 

Server Error in '/mojoportal' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
mojoPortal.Web.ContentUI.EditHtml.SaveHtml(Boolean draft) +773
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +139
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +28
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2980
 

 

What could be causing this problem.

 

Thank you in advance.

12/6/2010 10:27:50 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Editing and Indexing

That's a very generic error. What do you see in your System Log (Administration, System Log)?

12/6/2010 11:16:13 AM
Gravatar
Total Posts 18439

Re: Editing and Indexing

This question is only loosely related to this thread and previous questions on this thread. 

In order to help I would need to know:

  1. steps to produce the problem
  2. what operating system
  3. what database platform
  4. what version of mojoPortal
  5. what version of .NET
  6. whether you installed it using one of our pre-compiled packages or whether you are working directly form source code and whether you modified the code
You must sign in to post in the forums. This thread is closed to new posts.