Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Error while reindexing

Vote:
 

When reindexing a developer index only 150/200 of the a certain page type get indexed? I get this error in the Episervererrors.log:

EPiServer.Find.Cms.ContentIndexer: An exception occured while indexing (Batch): PropertyDefinitionID must be a positive number

This is the only type of error I see related to episerver.find in the log and it happens three times? Does this mean there is bad data somewhere as far as Episerver.find is concerned? how would I go about finding said data?

Regards

Simon

#112935
Nov 07, 2014 17:08
Vote:
 

Hi,

Yes Find thinks something is wrong with the data you are trying to index. PropertyDefinitionID is actually part of EPiServer.Core so the error originates from there. The error you see is probably from fetching it from the db.

/Marcus

#112993
Nov 10, 2014 11:09
Vote:
 

Interesting, so when the reindexing hit's an error like this does stop indexing the rest of that page type?

I used a scheduled job to Index each record of the PageType that was missing, all records indexed without a problem.  In the stack trace there was EPiServer.Find.Cms.ContentExtensions.SearchText so I called this function while looping each record, all records returned text successfully. Would my scheduled job, using an IContentRepository, access the data differently to the Find Reindexing job?

#113027
Nov 11, 2014 10:17
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.