dsccommunity / dsccommunity/SharePointDsc
SPSearchContentSource CrawlSetting not applied for ContentSourceType Website
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 246
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
Details of the scenario you try and problem that is occurring:
For Content Sources of type website the CrawlSetting is not configured to crawl only the fist level. Custom is selected instead without limitation.
The DSC configuration that is using the resource:
SPSearchContentSource "ContentSource_$($ContentSource.Name.Replace(' ', ''))" {
Name = $ContentSource.Name
ServiceAppName = $SearchServiceApplicationName
Addresses = $ContentSource.Addresses
ContentSourceType = "Website"
CrawlSetting = "CrawlFirstOnly"
IncrementalSchedule = MSFT_SPSearchCrawlSchedule {
ScheduleType = "Weekly"
CrawlScheduleDaysOfWeek = @("Sunday")
StartHour = "09"
StartMinute = "0"
}
Priority = "Normal"
Ensure = "Present"
PsDscRunAsCredential = $SetupAccount
DependsOn = "[SPSearchTopology]SearchTopology"
}
Version of the Operating System and PowerShell the DSC Target Node is running:
Windows Server 2012 R2, PowerShell 5.1
Version of the DSC module you're using:
1.7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the SPSearchContentSource resource and trace how CrawlSetting is handled for ContentSourceType Website. Reproduce the shown DSC configuration and verify whether CrawlFirstOnly is applied instead of Custom without limitation. Done means website content sources honor the requested first-level crawl setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100