View Single Post
Old 08-24-2020, 04:17 PM   #44
mapozyan
Connoisseur
mapozyan composes epic poetry in binary.mapozyan composes epic poetry in binary.mapozyan composes epic poetry in binary.mapozyan composes epic poetry in binary.mapozyan composes epic poetry in binary.mapozyan composes epic poetry in binary.mapozyan composes epic poetry in binary.mapozyan composes epic poetry in binary.mapozyan composes epic poetry in binary.mapozyan composes epic poetry in binary.mapozyan composes epic poetry in binary.
 
Posts: 77
Karma: 90088
Join Date: Jul 2020
Device: android
Quote:
Originally Posted by ownedbycats View Post
Moving caps.json from the plugins folder seems to reset the Power Search settings. It's re-indexing all the files.

I accidentally deleted the ES data folder when I reinstalled ElasticSearch (I use Geek Uninstaller) but since the caps.json file listed the files as already-indexed, it didn't re-index them
This is a very good point! I maybe need to add Reindex feature for such cases.

Quote:
Originally Posted by ownedbycats View Post
Another possible bug I noticed: When canceling partway through indexing (e.g. to adjust the number of threads), although the files are indexed (as can be confirmed by monitoring the elasticsearch programdata folder), the datetimes don't get added to caps.json so Power Search ends up re-indexing them unnecessarily.
Also correct. Actually I thought that if user for some reason cancelled indexing process they would probably expect that the plugin will revert to its original state. But as I can see now I was wrong.
mapozyan is offline   Reply With Quote