adirh3 / Fluent-Search

Official repository for Fluent Search, use to report issues or ask for a new feature
1.42k stars 32 forks source link

### Fluent Search Indexer Reindexing Issue After Every Restart #1023

Open elo-marciello opened 4 months ago

elo-marciello commented 4 months ago

Describe the bug After every restart of the Fluent Search app, including manually closing the app or restarting the PC, the Fluent Search indexer tries to reindex everything. It only indexes the smaller E drive and fails to index the C drive. This reindexing issue is consistent and problematic.

To Reproduce Steps to reproduce the behavior (Only in my case):

  1. Restart the Fluent Search app or the PC.
  2. Observe the Fluent Search indexer attempting to reindex all files.
  3. Notice that only the E drive is indexed and the C drive fails to be indexed.

Expected behavior The Fluent Search indexer should not attempt to reindex everything after every restart and should successfully index both the C drive and E drive.

Desktop (please complete the following information):

Additional context Error in Event Viewer after relaunching the app: Category: Blast.IndexerService.IndexerBackgroundWorker EventId: 0

Fluent Search file indexer is behind on file changes in Drive: C:, reindexing.

I have attempted uninstalling and reinstalling the service, but the issue persists. Only manually rebuilding the index temporarily fixes the issue and successfully indexes my drive until the next restart.

Here are Some useful Screenshots: mmc_pcK2PP0pEP mmc_dHxkiBKVNi mmc_0kwuA3hUvb mmc_HX7lRJM6XM

adirh3 commented 3 months ago

@elo-marciello this issue is really hard to reproduce, I will make the next nightly version to not rebuild the index once it's behind on file changes. I will also add a log that says how far behind the indexer is - I will greatly appreciate if you could post here the new log if you update. Thanks!

elo-marciello commented 3 months ago

Will do, always happy to help

adirh3 commented 3 months ago

This issue has been potentially fixed in version 1.0.0.43 . Changelog - https://install.appcenter.ms/users/adirh3-gmail.com/apps/fluent-search-alpha/distribution_groups/exe

elo-marciello commented 3 months ago

Issue still persists but here are the logs, If they aren't the ones you are talking about or if you need more Info, i can screenshare my pc for you to investigate the issue further.

  1. Information:

Log Name: Application Source: .NET Runtime Date: 16.06.2024 11:23:42 Event ID: 1000 Task Category: None Level: Information Keywords: Classic User: N/A Computer: MarcielloMaschine Description: Category: Blast.IndexerService.IndexerBackgroundWorker EventId: 0

Fluent Search indexing starting. NTFS drives: C:\,E:\, Scan drives:

Event Xml:

1000 0 4 0 0 0x80000000000000 2464070 Application MarcielloMaschine Category: Blast.IndexerService.IndexerBackgroundWorker EventId: 0 Fluent Search indexing starting. NTFS drives: C:\,E:\, Scan drives: 2. Warning: Log Name: Application Source: .NET Runtime Date: 16.06.2024 11:23:42 Event ID: 1000 Task Category: None Level: Warning Keywords: Classic User: N/A Computer: MarcielloMaschine Description: Category: Blast.IndexerService.IndexerBackgroundWorker EventId: 0 Fluent Search file indexer is behind on file changes in Drive: C:\, Last USN 0, Current Usn 0. Reindexing. Event Xml: 1000 0 3 0 0 0x80000000000000 2464071 Application MarcielloMaschine Category: Blast.IndexerService.IndexerBackgroundWorker EventId: 0 Fluent Search file indexer is behind on file changes in Drive: C:\, Last USN 0, Current Usn 0. Reindexing.