When a content type gets modified, its items will get re-indexed by a JobsQueue job instead of a custom queue-like implementation. Fixes #4729.

Since this adds a new dependency to Orchard.Indexing it requires #3132 to be fixed.
This commit is contained in:
Lombiq
2015-06-09 14:16:16 +02:00
parent 8a7a300414
commit 81dade1ab4
6 changed files with 86 additions and 44 deletions

View File

@@ -78,9 +78,8 @@
<Compile Include="Models\IndexSettings.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Models\IndexTaskBatchRecord.cs" />
<Compile Include="Services\IIndexTaskBatchManagementService.cs" />
<Compile Include="Services\IndexTaskBatchManagementService.cs" />
<Compile Include="Services\CreateUpdateIndexTaskService.cs" />
<Compile Include="Services\ICreateUpdateIndexTaskService.cs" />
<Compile Include="Services\UpdateIndexScheduler.cs" />
<Compile Include="Services\IIndexingTaskExecutor.cs" />
<Compile Include="Services\IUpdateIndexScheduler.cs" />
@@ -94,7 +93,6 @@
<Compile Include="Services\IndexingService.cs" />
<Compile Include="Settings\EditorEvents.cs" />
<Compile Include="Settings\FieldIndexing.cs" />
<Compile Include="Services\CreateUpdateIndexTaskBackgroundTask.cs" />
<Compile Include="Settings\TypeIndexing.cs" />
<Compile Include="ViewModels\IndexViewModel.cs" />
</ItemGroup>
@@ -102,12 +100,14 @@
<ProjectReference Include="..\..\..\Orchard\Orchard.Framework.csproj">
<Project>{2D1D92BB-4555-4CBE-8D0E-63563D6CE4C6}</Project>
<Name>Orchard.Framework</Name>
<Private>false</Private>
</ProjectReference>
<ProjectReference Include="..\..\Core\Orchard.Core.csproj">
<Project>{9916839C-39FC-4CEB-A5AF-89CA7E87119F}</Project>
<Name>Orchard.Core</Name>
<Private>false</Private>
</ProjectReference>
<ProjectReference Include="..\Orchard.JobsQueue\Orchard.JobsQueue.csproj">
<Project>{085948ff-0e9b-4a9a-b564-f8b8b4bdddbc}</Project>
<Name>Orchard.JobsQueue</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
@@ -146,11 +146,11 @@
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>