Benutzer:MovGP0/SharePoint/Search

aus Wikipedia, der freien Enzyklopädie
   MovGP0        Über mich        Hilfen        Artikel        Weblinks        Literatur        Zitate        Notizen        Programmierung        MSCert        Physik      


Developer Rampup

Overview

SharePoint 2010 SharePoint 2013
  SharePoint Search FAST Search Server
Focus Enterprise search Search application plattform
Strengths Ease of deployment, low TCO Scale, Extensibility
Limitations Limited extensibility Complex deployment, maintenance
Products
  • SharePoint Foundation
  • SharePoint Server
  • Search Server
  • FAST Search for SharePoint
  • FAST Search for Internet Sites
  • Single Extensible Plattform
    • Based on FAST Engine
    • SharePoint Crawler
    • combines advantages of SharePoint and FAST Search
  • indexes SharePoint 2013 & Exchange 2013
  • continuously crawls changes
    • always actual
    • includes security

Search Architecture & APIs

Executing Queries

Keyword Query Language (KQL)[1] FAST Query Language[2] SQL Query
  • prefered Method
  • supports for proximity queries
    "AND", "OR", "NOT", "NEAR"
  • backward compatiblity with FAST Search
  • only SharePoint 2010
KQL Examples
Keyword Example
General Text Training
Wildcard Train*
Phrase "Training Room"
Documents IsDocument IsDocument:1
FileExtension FileExtension:docx
Autor Autor:User49
Title Title:Example
People Lastname Lastname:Huber
Tasks contentClass contentClass:STS_ListItem_Tasks
Events contentClass contentClass:STS_ListItem_Events
Query using Managed CSOM REST Query
using(var clientContext = new ClientContext(siteUrl))
{
   var query = new KeywordQuery(ClientContext) { QueryText = "Search terms" };
   
   var searchExecutor = new SearchExecutor(clientContext);
   var resultCollection = searchExecutor.ExecuteQuery(query);
   clientContext.ExecuteQuery();
   // do something with resultCollection
}
  • Keywords
    http://sharepointserver/site/_api/query?querytext='KQL Query'
  • Selecting Properties
    http://sharepointserver/site/_api/query?querytext='query'&selectproperties='Title,FirstName'
  • Sorting
    http://sharepointserver/site/_api/query?querytext='query'&sortlist='LastModifiedTitme:descending'
    http://sharepointserver/site/_api/query?querytext='query'&sortlist='LastModifiedTitme:descending,Rank:ascending'

Search Verticals

Parsers

Custom Entity Extraction

WebService Callout

Search Back to Front

Referenzen

  1. Keyword Query Language (KQL) syntax reference. In: MSDN, Office Dev Center. Microsoft, 28. Februar 2014, abgerufen am 12. Mai 2014 (englisch).
  2. FAST Query Language (FQL) syntax reference. In: MSDN, Office Dev Center. Microsoft, 16. Juli 2013, abgerufen am 12. Mai 2014 (englisch).

Internetquellen