Fluent-Search icon indicating copy to clipboard operation
Fluent-Search copied to clipboard

### Fluent Search Indexer Reindexing Issue After Every Restart

Open elo-marciello opened this issue 1 year ago • 5 comments

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):

  • Windows 11 Version: 22H2
  • Fluent Search Version: 1.0.0.42
  • Installation source: Installer (nightly)

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

elo-marciello avatar May 22 '24 11:05 elo-marciello

@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!

adirh3 avatar Jun 12 '24 10:06 adirh3

Will do, always happy to help

elo-marciello avatar Jun 14 '24 18:06 elo-marciello

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

adirh3 avatar Jun 15 '24 21:06 adirh3

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: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name=".NET Runtime" /> <EventID Qualifiers="0">1000</EventID> <Version>0</Version> <Level>4</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2024-06-16T09:23:42.1572959Z" /> <EventRecordID>2464070</EventRecordID> <Correlation /> <Execution ProcessID="4724" ThreadID="0" /> <Channel>Application</Channel> <Computer>MarcielloMaschine</Computer> <Security /> </System> <EventData> <Data>Category: Blast.IndexerService.IndexerBackgroundWorker EventId: 0

Fluent Search indexing starting. NTFS drives: C:,E:, Scan drives: </Data> </EventData> </Event>

  1. 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: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name=".NET Runtime" /> <EventID Qualifiers="0">1000</EventID> <Version>0</Version> <Level>3</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2024-06-16T09:23:42.1834797Z" /> <EventRecordID>2464071</EventRecordID> <Correlation /> <Execution ProcessID="4724" ThreadID="0" /> <Channel>Application</Channel> <Computer>MarcielloMaschine</Computer> <Security /> </System> <EventData> <Data>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. </Data> </EventData> </Event>

elo-marciello avatar Jun 16 '24 12:06 elo-marciello

@elo-marciello I apologize for the late reply, does it happen on latest nightly? I removed this log so this may indicate the indexer was running on older version (which should be fixed as well)

adirh3 avatar Oct 29 '24 20:10 adirh3