Search Broken

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
5/14/2010 9:20:31 AM
Gravatar
Total Posts 154

Search Broken

I don't know what happened but when I search I get this response. 

Sorry, your search query is not formed correctly, we were unable to complete your search.

Any ideas?

5/14/2010 9:46:32 AM
Gravatar
Total Posts 18439

Re: Search Broken

What are you entering in the search box?

5/14/2010 9:50:10 AM
Gravatar
Total Posts 154

Re: Search Broken

Pretty much anything.  I've tried chicken, fish, meat.  No clue why it just stopped working.  I'll reboot the server real quick.

5/14/2010 9:57:48 AM
Gravatar
Total Posts 18439

Re: Search Broken

There should be something in the log about the error.

5/14/2010 10:19:35 AM
Gravatar
Total Posts 154

Re: Search Broken

2010-05-14 11:18:56,911 ERROR mojoPortal.Business.WebHelpers.IndexHelper - handled error for search terms fish
Lucene.Net.Search.BooleanQuery+TooManyClauses: maxClauseCount is set to 1024
at Lucene.Net.Search.BooleanQuery.Add(BooleanClause clause)
at Lucene.Net.Search.BooleanQuery.Add(Query query, Occur occur)
at Lucene.Net.Search.RangeQuery.Rewrite(IndexReader reader)
at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader)
at Lucene.Net.Search.IndexSearcher.Rewrite(Query original)
at Lucene.Net.Search.Query.Weight(Searcher searcher)
at Lucene.Net.Search.Hits..ctor(Searcher s, Query q, Filter f)
at Lucene.Net.Search.Searcher.Search(Query query, Filter filter)
at Lucene.Net.Search.Searcher.Search(Query query)
at mojoPortal.Business.WebHelpers.IndexHelper.Search(Int32 siteId, Boolean isAdmin, List`1 userRoles, Guid featureGuid, String queryText, Boolean highlightResults, Int32 highlightedFragmentSize, Int32 pageNumber, Int32 pageSize, Int32& totalHits, Boolean& invalidQuery

5/14/2010 10:43:21 AM
Gravatar
Total Posts 18439

Re: Search Broken

I would try rebuilding the search index.

Hope it helps,

Joe

5/14/2010 12:10:16 PM
Gravatar
Total Posts 154

Re: Search Broken

I deleted the index and it recreated.  Same results. 

 

2010-05-14 13:09:04,103 ERROR mojoPortal.Business.WebHelpers.IndexHelper - handled error for search terms fish
Lucene.Net.Search.BooleanQuery+TooManyClauses: maxClauseCount is set to 1024
at Lucene.Net.Search.BooleanQuery.Add(BooleanClause clause)
at Lucene.Net.Search.BooleanQuery.Add(Query query, Occur occur)
at Lucene.Net.Search.RangeQuery.Rewrite(IndexReader reader)
at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader)
at Lucene.Net.Search.IndexSearcher.Rewrite(Query original)
at Lucene.Net.Search.Query.Weight(Searcher searcher)
at Lucene.Net.Search.Hits..ctor(Searcher s, Query q, Filter f)
at Lucene.Net.Search.Searcher.Search(Query query, Filter filter)
at Lucene.Net.Search.Searcher.Search(Query query)
at mojoPortal.Business.WebHelpers.IndexHelper.Search(Int32 siteId, Boolean isAdmin, List`1 userRoles, Guid featureGuid, String queryText, Boolean highlightResults, Int32 highlightedFragmentSize, Int32 pageNumber, Int32 pageSize, Int32& totalHits, Boolean& invalidQuery)

5/14/2010 12:39:32 PM
Gravatar
Total Posts 154

Re: Search Broken

I tried using a default skin and it didn't seem to help.  Not quite sure what to do at this point. :(

5/14/2010 1:13:29 PM
Gravatar
Total Posts 18439

Re: Search Broken

Hi Dave,

Do you have settings like this in user.config?

<add key="DisableSearchFeatureFilters" value="false" />
<add key="SearchUseBackwardCompatibilityMode" value="false" />
<add key="EnableSearchResultsHighlighting" value="true" />
<add key="SearchIncludeModuleRoleFilters" value="true" />

What version of mojoPortal? You can check at Administration > System Info

Do you have a lot of roles in your site?

Do you get the same results when you are signed out of the site as when signed in?

Best,

Joe

5/14/2010 1:38:41 PM
Gravatar
Total Posts 154

Re: Search Broken

Settings are exact in user.config.  Same result signed out.  I don't think I added any roles.

System Information
mojoPortal Version 2.3.4.3 MSSQL
Server Time Zone Eastern Daylight Time
Server Local Time (GMT -4) 5/14/2010 2:37:38 PM
Greenwich Mean Time (GMT/UTC) 5/14/2010 6:37:38 PM
Feature Versions
Feature Schema Version
blog 0.0.1.6
contactform 0.0.0.3
eventcalendar 0.0.0.3
feed-manager 0.0.0.7
forums 0.0.1.4
imagegallery 0.0.0.5
linksmodule 0.0.0.5
pollfeature-byChristianFredh 0.0.0.4
sharedfiles 0.0.0.7
surveyfeature 0.0.1.5
webstore 0.0.6.6
 

5/14/2010 1:42:58 PM
Gravatar
Total Posts 18439

Re: Search Broken

That is really strange, at the moment I'm baffled and not able to reproduce the issue. I'll keep investigating on my end to see if I can think of how it could possibly happen but I'm going to be at a code camp all day tomorrow and at a family event most of the day Sunday.

Best,

Joe

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