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?
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.
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?