this is Stephan Hofer from eTASK Service-Managemen, Cologe, Germany.
Since we updated the mojo software to version 2.3.1.6 we have problems with the search feature.
For some search terms the website " /SearchResults.aspx" returns following error message:
For some search terms the search returns correct results as usual - also for those who don't return any reslts ("No results found.")
I have found out that the error is reported to the log file. Here is a part of our log file, where I reproduced the error three times one after another:
2009-10-07 11:15:07,906 ERROR mojoPortal.Web.Global - 192.168.10.8-de-DE -
/SearchResults.aspx?q=RFID
System.IndexOutOfRangeException: Not a valid hit number: 4
bei Lucene.Net.Search.Hits.HitDoc(Int32 n)
bei Lucene.Net.Search.Hits.Doc(Int32 n)
bei mojoPortal.Business.WebHelpers.IndexHelper.Search(Int32 siteId, Boolean
isAdmin, List`1 userRoles, Guid featureGuid, String queryText, Boolean
highlightResults, Int32 pageNumber, Int32 pageSize, Int32& totalHits)
bei mojoPortal.Web.UI.Pages.SearchResults.DoSearch()
bei mojoPortal.Web.UI.Pages.SearchResults.Page_Load(Object sender, EventArgs
e)
bei System.Web.UI.Control.OnLoad(EventArgs e)
bei mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
bei System.Web.UI.Control.LoadRecursive()
bei System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2009-10-07 11:15:22,046 ERROR mojoPortal.Web.mojoBasePage - 192.168.10.8-de-DE
- /SearchResults.aspx?q=Google
System.IndexOutOfRangeException: Not a valid hit number: 3
bei Lucene.Net.Search.Hits.HitDoc(Int32 n)
bei Lucene.Net.Search.Hits.Doc(Int32 n)
bei mojoPortal.Business.WebHelpers.IndexHelper.Search(Int32 siteId, Boolean
isAdmin, List`1 userRoles, Guid featureGuid, String queryText, Boolean
highlightResults, Int32 pageNumber, Int32 pageSize, Int32& totalHits)
bei mojoPortal.Web.UI.Pages.SearchResults.DoSearch()
bei mojoPortal.Web.UI.Pages.SearchResults.Page_Load(Object sender, EventArgs
e)
bei System.Web.UI.Control.OnLoad(EventArgs e)
bei mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
bei System.Web.UI.Control.LoadRecursive()
bei System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2009-10-07 11:15:22,046 ERROR mojoPortal.Web.Global - 192.168.10.8-de-DE -
/SearchResults.aspx?q=Google
System.IndexOutOfRangeException: Not a valid hit number: 3
bei Lucene.Net.Search.Hits.HitDoc(Int32 n)
bei Lucene.Net.Search.Hits.Doc(Int32 n)
bei mojoPortal.Business.WebHelpers.IndexHelper.Search(Int32 siteId, Boolean
isAdmin, List`1 userRoles, Guid featureGuid, String queryText, Boolean
highlightResults, Int32 pageNumber, Int32 pageSize, Int32& totalHits)
bei mojoPortal.Web.UI.Pages.SearchResults.DoSearch()
bei mojoPortal.Web.UI.Pages.SearchResults.Page_Load(Object sender, EventArgs
e)
bei System.Web.UI.Control.OnLoad(EventArgs e)
bei mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
bei System.Web.UI.Control.LoadRecursive()
bei System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I have also found out, that I am not able to reproduce the error, when I'm logged in to the mojoportal.
Maybe you can help us with this problem.
I had to hide the search link as long as this error exists.