conditional re-index
This commit is contained in:
parent
14e14ba9bd
commit
f29968f379
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
<TargetFramework>net5.0</TargetFramework>
|
||||||
<Version>6.0.6.1</Version>
|
<Version>6.0.6.2</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@ -275,8 +275,9 @@ namespace LibationWinForms
|
|||||||
}
|
}
|
||||||
|
|
||||||
// in order: save to db, full reindex from db, refresh ui
|
// in order: save to db, full reindex from db, refresh ui
|
||||||
context.SaveChanges();
|
var changed = context.SaveChanges();
|
||||||
ApplicationServices.SearchEngineCommands.FullReIndex();
|
if (changed > 0)
|
||||||
|
ApplicationServices.SearchEngineCommands.FullReIndex();
|
||||||
UserDefinedItem.BatchMode_Finalize();
|
UserDefinedItem.BatchMode_Finalize();
|
||||||
|
|
||||||
// only do this after save changes
|
// only do this after save changes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user