Skip to content

Index corruption with Examine? #144

@robertjf

Description

@robertjf

Since upgrading to version 1.0.0.0-beta8, we've been seeing errors like the below (this is being thrown every 2 seconds after the restart):

System.ArgumentException: TaxonomyWriter must be created with SnapshotDirectoryTaxonomyIndexWriterFactory (Parameter 'taxonomyWriterFactory')
   at Lucene.Net.Replicator.IndexAndTaxonomyRevision..ctor(IndexWriter indexWriter, SnapshotDirectoryTaxonomyIndexWriterFactory taxonomyWriterFactory)
   at Examine.Lucene.ExamineReplicator.CreateRevision()
   at Examine.Lucene.ExamineReplicator.SourceIndex_IndexCommitted(Object sender, EventArgs e)
   at Examine.Lucene.Providers.LuceneIndex.<>c__DisplayClass100_0.<CreateDefaultCommitter>b__1(Object sender, EventArgs args)
   at Examine.Lucene.Providers.IndexCommitter.CommitNow()
   at Examine.Lucene.Providers.IndexCommitter.TimerRelease()

I cleared out the examine indexes and restarted the website, and the search console reports appropriate numbers on the indexes, but no indexes are actually found in the temp directory:

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions