Mit der SharePoint 2013 Search Topologie arbeiten


In SharePoint 2013 hatten wir ja das Vergnügen, ein GUI für die Verwaltung der Search Topologie zu haben. Diese Zeiten sind endgültig vorbei. Des einen Leid, des anderen Freud. Neu muss die Topologie der Suche per PowerShell verwaltet werden. Wie man das macht, entnehmt ihr dem unten folgenden Code.

Grundsätzlich unterscheiden wir folgende Rollen, welche auf verschiedenen Servern redundant aufgebaut werden können:

  1. Crawl Komponente
  2. Content Processing Komponente
  3. Analytics Komponente
  4. Index Komponente (schreibt den Index)
  5. Query Processing Komponente
  6. Admin Komponente

Im Beispiel wird die Suche auf zwei Frontends verteilt, auf welcher die Query Rolle läuft und auf zwei Application Server, die alle anderen Rollen redundant verpasst bekommen, zusätzlich soll die Indexpartition 0 auf beide Server gespiegelt werden.

SearchTop

 

Und hier kommt der Code:

# Abfragen des SharePoint 2013 Search Status
Get-SPEnterpriseSearchStatus -SearchApplication (Get-SPEnterpriseSearchServiceApplication)

# Definieren der Server
$wfe1 = Get-SPEnterpriseSearchServiceInstance -Identity "yourserver"
$wfe2 = Get-SPEnterpriseSearchServiceInstance -Identity "yourserver"
$app1 = Get-SPEnterpriseSearchServiceInstance -Identity "yourserver"
$app2 = Get-SPEnterpriseSearchServiceInstance -Identity "yourserver"

# Starten der Service Instanzen auf allen Servern
Start-SPEnterpriseSearchServiceInstance -Identity $wfe1
Start-SPEnterpriseSearchServiceInstance -Identity $wfe2
Start-SPEnterpriseSearchServiceInstance -Identity $app1
Start-SPEnterpriseSearchServiceInstance -Identity $app2

# Checken ob die Services alle online sind, bevor wir weiter machen
do {
    $globalState = 0
    $wfe1Stat = Get-SPEnterpriseSearchServiceInstance -Identity $wfe1
    if ($wfe1Stat.status = "online") {$globalState++}
    $wfe2Stat= Get-SPEnterpriseSearchServiceInstance -Identity $wfe2
    if ($wfe2Stat.status = "online") {$globalState++}
    $app1Stat = Get-SPEnterpriseSearchServiceInstance -Identity $app1
    if ($app1Stat.status = "online") {$globalState++}
    $app2Stat = Get-SPEnterpriseSearchServiceInstance -Identity $app2
    if ($app2Stat.status = "online") {$globalState++}
    Write-Host "There are $globalState Machines ready"
    if ($globalState -lt 4) {
        Write-Host "Waiting for 10 seconds..."
        Start-Sleep -s 10
    }
}
while ($globalState -lt 4)

# Search Service Applikatioin festlegen
$ssa = Get-SPEnterpriseSearchServiceApplication
$newTopology = New-SPEnterpriseSearchTopology -SearchApplication $ssa

# Frontend Rollen festlegen
New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $wfe1
New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $wfe2

# App Server Rollen festlegen
New-SPEnterpriseSearchAdminComponent -SearchTopology $newTopology -SearchServiceInstance $app1
New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $app1
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $app1
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $app1
New-SPEnterpriseSearchIndexComponent -SearchTopology $newTopology -SearchServiceInstance $app1 -IndexPartition 0

New-SPEnterpriseSearchAdminComponent -SearchTopology $newTopology -SearchServiceInstance $app2
New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $app2
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $app2
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $app2
New-SPEnterpriseSearchIndexComponent -SearchTopology $newTopology -SearchServiceInstance $app2 -IndexPartition 0

# Search Topologie aktivieren
Set-SPEnterpriseSearchTopology -Identity $newTopology

Achtung: Eine Neudefinition der Topologie funktioniert nur mit leerem Index. Heisst, ggf. müsst ihr zuerst den Indes zurücksetzen oder ein anderes Vorgehen wählen.

So long, Gruss Samuel

FAST Search Server Evaluation Guide


FAST wird zu einem immer wichtigeren Thema. Microsoft hat einen Evaluation Guide herausgegeben, der Ihnen helfen soll, Ihre Search Strategie festzulegen. Hier der Link zum Dokument:

FASTSearchServer2010_SearchEvalGuide

Contents

Abstract ………………………………………………………………………………………………………………………………………. 1
How to Use This Document……………………………………………………………………………………………………….. 2
Introduction …………………………………………………………………………………………………………………………………. 3
Technical Problems Solved by SharePoint Server 2010 Enterprise Search …………………….. 3
Search Terminology ………………………………………………………………………………………………………………… 4
Microsoft Enterprise Search Products Overview …………………………………………………………………….. 9
Microsoft Server-Side Search Products ……………………………………………………………………………….. 9
Content Source Repositories …………………………………………………………………………………………… 10
Indexing Scale ……………………………………………………………………………………………………………………. 11
Developer Information ……………………………………………………………………………………………………… 12
Enterprise Search Features in FAST Search Server 2010 for SharePoint …………………………… 13
End-User Perspective …………………………………………………………………………………………………………….. 13
IT Professional Perspective …………………………………………………………………………………………………… 14
Developer Perspective…………………………………………………………………………………………………………… 14
FAST Search Server 2010 for SharePoint ……………………………………………………………………………….. 15
Enterprise Search Enhancements in FAST Search Server 2010 for SharePoint …………….. 15
Visual Search Capabilities …………………………………………………………………………………………………….. 15
Document Thumbnails ……………………………………………………………………………………………………… 15
Scrolling PowerPoint previews ………………………………………………………………………………………… 15
Visual Best Bets ………………………………………………………………………………………………………………….. 16
Conversational Search Capabilities …………………………………………………………………………………….. 16
Sort Results on Managed Properties ……………………………………………………………………………… 16
Deep Results Refinement …………………………………………………………………………………………………. 16
Similar Results ……………………………………………………………………………………………………………………. 17
Result collapsing ……………………………………………………………………………………………………………….. 17
Contextual Search Capabilities …………………………………………………………………………………………….. 17
2 http://www.microsoft.com/sharepoint
Relevancy Tuning by Document or Site Promotions …………………………………………………… 17
Synonyms ……………………………………………………………………………………………………………………………. 18
Managed Properties and Metadata creation ………………………………………………………………… 18
Property Extraction ……………………………………………………………………………………………………………. 18
Rank Profiles ………………………………………………………………………………………………………………………. 19
Linguistics …………………………………………………………………………………………………………………………… 20
FAST Search Server 2010 for SharePoint for End Users ………………………………………………………. 21
End-User Search Experience ………………………………………………………………………………………………… 21
Social Search …………………………………………………………………………………………………………………………… 25
Finding People …………………………………………………………………………………………………………………… 25
Mining and Discovering Expertise ………………………………………………………………………………….. 26
Improving Search based on Social Behavior …………………………………………………………………. 26
FAST Search Server 2010 for SharePoint User Experience ………………………………………………. 27
Enhanced Search Results ………………………………………………………………………………………………………. 29
FAST Search Server 2010 for SharePoint for IT Professionals …………………………………………….. 31
FAST Search Server 2010 Architecture Overview ……………………………………………………………… 31
Modular and Scalable Architecture ………………………………………………………………………………… 32
Integration with Search Center ……………………………………………………………………………………….. 32
IT Professional Experience ……………………………………………………………………………………………….. 33
Windows PowerShell Support …………………………………………………………………………………………. 33
Categories of cmdlets ……………………………………………………………………………………………………….. 34
Developer Experience ……………………………………………………………………………………………………….. 34
FAST Search Server 2010 for SharePoint —Services and Components ………………………… 35
FAST Search Connector ……………………………………………………………………………………………………. 35
Web Link Analysis (Web Analyzer) ………………………………………………………………………………….. 36
Item Processing …………………………………………………………………………………………………………………. 36
Indexing ………………………………………………………………………………………………………………………………. 37
Query Matching …………………………………………………………………………………………………………………. 37
3 http://www.microsoft.com/sharepoint
Query Processing ………………………………………………………………………………………………………………. 38
Connector Framework …………………………………………………………………………………………………………… 38
New Connector Features ………………………………………………………………………………………………….. 38
Creating Connectors …………………………………………………………………………………………………………. 39
Search Administrator Walkthroughs …………………………………………………………………………………… 39
Search Administration at the Search Service Application Level for SharePoint Server 2010. ……………………………………………………………………………………………………………………………………. 39
Crawler Settings …………………………………………………………………………………………………………………. 40
Queries and Results Settings …………………………………………………………………………………………… 42
Search Reports …………………………………………………………………………………………………………………… 48
Administering FAST Search Server 2010 for SharePoint Managed Properties ………… 50
Search Administration at the Site Collection Level ………………………………………………………. 52
FAST Site Collection Settings …………………………………………………………………………………………… 58
Appendix A: Resources Available for Evaluating SharePoint Server 2010 ………………………… 62