Showing posts with label SharePoint Search. Show all posts
Showing posts with label SharePoint Search. Show all posts

Friday, August 26, 2016

How to reduce the width of choice column in List in SP 2013

Add it to a script editor web part to the page
<style type='text/css'>
.ms-vh-div[DisplayName='ChoiceColumnDisplayName']
{
  width:250px;
}
</style>

Thursday, February 11, 2016

How to Create Crawl Rule in SharePoint 2013


Crawl:
  1. Including during the crawl
  2. Excluding during the crawl
  3. Setting Wildcards like * and Regular Expressions

Open Crawl Rules link
Open Central Administration >Choose>Service Applications" > "Search Service Application" > "Crawl Rules".


Create Crawl Rule
Choose the New Crawl Rule option and enter the details as shown below.

Please note that you need to include an asterisk (*) to include the URLS.
SharePoint content as HTTP pages options too.
Crawl Rule

Now we can test our crawl rule.://*/AllItems.aspx 

Thursday, December 10, 2015

Enterprise Keyword Search

Step 1:Open a document library             

Step 2:Go to library settings

Step3: Select “Enterprise metadata and Keyword settings”



Step 4: Check “Add an enterprise keywords column in the list and enable keyword synchronization” and click ok
Step 5: Go to menu and select “Edit properties”


Step 6: Specify a keyword in “Enterprise Keyword” and save

Step 7: Using enterprise search we can search for a document using specified keyword.

Tuesday, December 1, 2015

SharePoint SEARCH RESULT title max 30 characters “MaxCharactersInPropertyStoreIndex

Resolution Summary :-
 
è Increased the “MaxCharactersInPropertyStoreIndex”
 
 
PS C:\Users\spinstall> $ssa = Get-SPEnterpriseSearchServiceApplication
PS C:\Users\spinstall> $mp = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $ssa -Identity "PublishingPageContentOWSHTML"
PS C:\Users\spinstall> $mp.MaxCharactersInPropertyStoreForRetrieval
2097152
PS C:\Users\spinstall> $p = Get-SPEnterpriseSearchMetadataManagedProperty -Identity body -SearchApplication (Get-SPEnterpriseSearchServiceApplication)
PS C:\Users\spinstall> $p.MaxCharactersInPropertyStoreIndex
0
PS C:\Users\spinstall> $prop1 = Get-SPEnterpriseSearchMetadataManagedProperty -Identity body -SearchApplication (Get-SPEnterpriseSearchServiceApplication)
PS C:\Users\spinstall> $prop1
 
Name                 PID      ManagedType  EnabledForScoping  EqualityMatchOnly
----                 ---      -----------  -----------------  -----------------
body                 1        Text         False              False
 
 
PS C:\Users\spinstall> $prop1.MaxCharactersInPropertyStoreIndex
0
PS C:\Users\spinstall> $prop1.MaxCharactersInPropertyStoreIndex = "2048000"
PS C:\Users\spinstall> $prop1.Update()
PS C:\Users\spinstall> $prop1.MaxCharactersInPropertyStoreIndex
2048000
PS C:\Users\spinstall>
 
è In search schemaà managed propertyà titleà (Changed the priority of the crawled property TermTitle to position 0)
 
è Added a "EnableOptimisticTitleOverride" registry entry
Open Regedit on the SharePoint Server 2010 and go to  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\15.0\Search\Global\Gathering Manager
Set the value of EnableOptimisticTitleOverride to 0
 
è Started the Full Crawl
è Crawl completed and we were getting the full title of the documents in the search results.