SharePoint By Yagya Shree

Posts Tagged ‘crawl

SP2013: Find All search crawl Property

leave a comment »


Requirement:

How to find all search crawl property in a TEXT or EXCEL file for a specific site collection using PowerShell

 

Resolution:

1st Phase:

Find the GUID for site collection by running below script from Windows PowerShell ISE on any of the sharepoint servers in farm.

Add-PSSnapin “Microsoft.SharePoint.PowerShell”
$site = Get-SPSite https://sharepoint.contoso.com/sites/SP2013
$siteguid = $site.id
echo $siteguid

2nd Phase

Once you got the GUID for site collection from phase 1, run below script

Add-PSSnapin “Microsoft.SharePoint.PowerShell”
$searchapp = Get-SPEnterpriseSearchServiceApplication
Get-SPEnterpriseSearchMetadataCrawledProperty -SearchApplication $searchapp -SiteCollection <Site_GUID> -limit All >C:\Temp\crawlproperty.csv

Written by Yagyashree

September 19, 2016 at 8:23 pm

unable to search content inside *.RTF [Rich Text Files]

leave a comment »


ISSUE DESCRIPTION
********************************
We have upload *.RTF [Rich Text File] files in you SharePoint document library http://sharepoint/yagya/test%20Library/Forms/AllItems.aspx
When we try to search for keywords like “alligator & applicable” which are inside the RTF files, no results are found.We are able to get results from Microsoft Word documents like *.doc and *.docx. A summary of the solution is detailed below.

SYMPTOMS
*****************************
We have upload *.RTF [Rich Text File] files in you SharePoint document library http://sharepoint/yagya/test%20Library/Forms/AllItems.aspx
When we try to search for keywords like “alligator & applicable” which are inside the RTF files,
you get following message

No results matching your search were found.
Check your spelling. Are the words in your query spelled correctly?
Try using synonyms. Maybe what you’re looking for uses slightly different words. Make your search more general. Try more general terms in place of specific ones. Try your search in a different scope. Different scopes can have different results.

We are able to get results from Microsoft Word documents like *.doc and *.docx

CAUSE
******************************
By default *.RTF [Rich Text Format] files are not searchable in SharePoint site as they cannot be crawled.

RESOLUTION
******************************
http://download.microsoft.com/download/SharePointPortalServer/Utility/1/NT5/EN-US/RTF.exe
1. Copy rtffilt.dll to C:\windows\System32 on the operating system drive of the SharePoint Server computer.
2. Register rtffilt.dll. – On the taskbar, click Start, point to Programs, point to Accessories, and then click Command Prompt. – Type Cd /d %windir%\system32 and then press ENTER to navigate to windows\System32 on the operating system drive. – Type regsvr32 rtffilt.dll and then press ENTER. – Click OK to close the message box. – Close Command Prompt.
3. Restart Office SharePoint Server Search and Windows SharePoint search service. – On the taskbar, click Start, point to Programs, point to Administrative Tools, and then click Services. – Right-click the service and then click Restart.
4. Add the .rtf extension to included file types, and start a full update. – Go to Central administration–Shared Services 1–Search settings–File Types – Click on New File Type and add “rtf” – On the Rules tab, click File Types. – Go to “Content sources and crawl schedules” and right click “Local Office SharePoint Server sites” and start a Full crawl
5. Wait for the crawl to complete

ADDITIONAL ARTICLES
********************************
– Rich Text Format File Content Is Not Indexed
http://support.microsoft.com/kb/291676

Written by Yagyashree

April 3, 2009 at 12:28 am

%d bloggers like this: