Come on a tour of the common development tasks needed to take advantage of the full power of SharePoint 2013 Search. Ingest content from external sources via the BCS. Enhance content prior to indexing via Content Enrichment. Pinpoint relevancy with contextual targeting with Query Rules. Leverage the Search Client Object Model to power search driven applications. Make the most of the new Keyword Query Language improvements. Customize the UX and make your search results shine!
Matthew King, Andrew Wardly gave this session.
Summary
Content Acquisition
Search Management
Central admin is great, but it is not repeatable > PowerShell is!
Scripts are available at TechNet Script Center: http://technet.microsoft.com/en-us/scriptcenter/bb410849.aspx
Optimize BCS for search
- Enable full search experience
- Mark the source as search enabled > ShowInSearchUI
- Document contents > StreamAccessor
- External URL > DisplayUriField
- Plan for volume
- Paging results > batching cookies
- Only return the data needed > finder method only needs document ids
- Plan for changes
- Implement incremental changes
Content Enrichment
Web service callout: Service lives outside of SharePoint configuration.
SharePoint 2013 Search Query Tool: http://sp2013searchtool.codeplex.com/
Use this tool to test out and debug search queries against the SharePoint 2013 Search REST API.
User Experience
Refiners
New refiners
- Sliders
- Slider with bar graph
- Multi-value
Sliders: only available for integers managed properties.
Display templates
- New to SP2013
- Start with design manager
- SP Designer 2013 doesn’t support “design view”
- Work with HTML, the “JS” file is automagically created
Hover Panels
New functionality, customize by copying an existing one.
Search refiner creation
- Go to search center
- Open the page in edit mode
- Edit the refiner web part
- Add your new refiners
- Per refiner you can choose what the refiner display template is
- With sliders you can set your own interval value
- Store the changes
Result block creation
- Create a result source
- Create your design files
- Item_
.html - Item_
_HoverPanel.html
- Item_
- Create a result type
- Select the display templates you have created
- Create a query rule by creating a new rule in the manage query rules settings on the site
- What this does is it allows you to search you content in another data source, for example a BCS source.