Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Search not workingSearch not working
Previous
 
Next
New Post
4/4/2014 11:55 AM
 

Hi All,

I'm hoping someone can help me out here, I've had an issue recently where DNN search isn't working at all, it's only started recently.

Get get the following error

AssemblyVersion:7.2.2

PortalID:-1

PortalName:

UserID:-1

UserName:

ActiveTabID:-1

ActiveTabName:

RawURL:

AbsoluteURL:

AbsoluteURLReferrer:

UserAgent:

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:e691e011-ad2c-45cb-8676-0b22c9e4ea30

InnerException:Index was outside the bounds of the array.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:Lucene.Net.Index.TermInfosReader.SeekEnum

StackTrace:

Message:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Lucene.Net.Index.TermInfosReader.SeekEnum(SegmentTermEnum enumerator, Int32 indexOffset)
   at Lucene.Net.Index.TermInfosReader.Get(Term term, Boolean useCache)
   at Lucene.Net.Index.TermInfosReader.Terms(Term term)
   at Lucene.Net.Index.SegmentReader.Terms(Term t)
   at Lucene.Net.Search.NumericRangeQuery`1.NumericRangeTermEnum.Next()
   at Lucene.Net.Search.NumericRangeQuery`1.NumericRangeTermEnum..ctor(NumericRangeQuery`1 enclosingInstance, IndexReader reader)
   at Lucene.Net.Search.NumericRangeQuery`1.GetEnum(IndexReader reader)
   at Lucene.Net.Search.MultiTermQuery.ScoringBooleanQueryRewrite.Rewrite(IndexReader reader, MultiTermQuery query)
   at Lucene.Net.Search.MultiTermQuery.ConstantScoreBooleanQueryRewrite.Rewrite(IndexReader reader, MultiTermQuery query)
   at Lucene.Net.Search.MultiTermQuery.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.Index.DocumentsWriter.ApplyDeletes(IndexReader reader, Int32 docIDStart)
   at Lucene.Net.Index.DocumentsWriter.ApplyDeletes(SegmentInfos infos)
   at Lucene.Net.Index.IndexWriter.ApplyDeletes()
   at Lucene.Net.Index.IndexWriter.DoFlushInternal(Boolean flushDocStores, Boolean flushDeletes)
   at Lucene.Net.Index.IndexWriter.DoFlush(Boolean flushDocStores, Boolean flushDeletes)
   at Lucene.Net.Index.IndexWriter.PrepareCommit(IDictionary`2 commitUserData)
   at Lucene.Net.Index.IndexWriter.Commit(IDictionary`2 commitUserData)
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.Commit()
   at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.AddSearchDocuments(IEnumerable`1 searchDocuments)
   at DotNetNuke.Services.Search.SearchEngine.StoreSearchDocuments(IEnumerable`1 searchDocs)
   at DotNetNuke.Services.Search.SearchEngine.IndexContent(DateTime startDate)
   at DotNetNuke.Services.Search.SearchEngineScheduler.DoWork()

I have also had an issue (unclosed string literal) where the text was larger than 2000 characters allowed in the ItemData column of the Journal table. I managed to clear this issue by trimming the last 40 chars then closing off the Description and the rest of the "object".

Has anyone seen/fixed this error before?
Could the "e
nclosed string literal" be causing it?
Can I directly delete rows from the Journal table or are there relationships with other tables?

Thanks for any help you can give.

 
New Post
4/4/2014 7:53 PM
 

OK, it's not the issue with the Journal causing this problem  as I have removed the offending items from databases and I still get the error. 

I have attached the event viewer log file with the 3 items related to this problem. Would love to hear ideas on where to look next.

Logs errorlog.xml

 
New Post
4/5/2014 3:49 AM
Accepted Answer 
I'd remove all /app_data/search folder content and re-index.
Local link you provided is not accessible.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/5/2014 6:28 AM
 

Mr Leupold,

You sir, are a gentleman. That worked a treat.

Thanks

 
New Post
4/5/2014 6:45 AM
 
I am glad I could have been of assistance.
Have fun using DNN :))

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Search not workingSearch not working


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out