Skip to content

Commit c80e26c

Browse files
author
Derek Legenzoff
authored
Merge pull request #59 from dereklegenzoff/delegenz
Small doc updates
2 parents 0bd6812 + 121790c commit c80e26c

File tree

5 files changed

+47
-25
lines changed

5 files changed

+47
-25
lines changed

00 - Resource Deployment/README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ There are two options for deploying the resources to Azure for this solution acc
2626
## Prerequisites
2727

2828
1. Access to an Azure Subscription
29+
2. If you're running the PowerShell script, you'll also need to install the [Az PowerShell Module](https://docs.microsoft.com/powershell/azure/install-az-ps)
2930

3031
## Running the PowerShell Script
3132

@@ -34,10 +35,15 @@ There are two options for deploying the resources to Azure for this solution acc
3435
To run the [PowerShell script](./deploy.ps1):
3536

3637
1. Open PowerShell and navigate to this folder.
38+
39+
```cmd
40+
cd "00 - Resource Deployment"
41+
```
42+
3743
2. Run the following command:
3844
3945
```cmd
40-
./deploy.ps1
46+
./deploy.ps1
4147
```
4248
4349
3. After running the script, you'll be prompted to login and provide additional information.

00 - Resource Deployment/deploy.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function Deploy
3333
{
3434
# Read parameters from user.
3535
Write-Host "Press enter to use [default] value."
36+
Write-Host "For uniqueName, please enter a string with 10 or less characters."
3637
while (!($uniqueName = Read-Host "uniqueName")) { Write-Host "You must provide a uniqueName."; }
3738
while (!($resourceGroupName = Read-Host "resourceGroupName")) { Write-Host "You must provide a resourceGroupName."; }
3839
while (!($subscriptionId = Read-Host "subscriptionId")) { Write-Host "You must provide a subscriptionId."; }
@@ -47,7 +48,7 @@ function Deploy
4748
$webappname = $uniqueName + "app";
4849
$cogServicesName = $uniqueName + "cog";
4950
$appInsightsName = $uniqueName + "insights";
50-
$storageAccountName = $uniqueName + "storage";
51+
$storageAccountName = $uniqueName + "str";
5152
$storageContainerName = "documents";
5253

5354
$dataSourceName = $uniqueName + "-datasource";

01 - Search Index Creation/Create-Index-PowerShell.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The following code will create a search index for you based on the json files in
99
1010
# Generate derivative parameters.
1111
$searchServiceName = $uniqueName + "search";
12-
$storageAccountName = $uniqueName + "storage";
12+
$storageAccountName = $uniqueName + "str";
1313
$storageContainerName = "documents";
1414
1515
$dataSourceName = $uniqueName + "-datasource";
@@ -71,17 +71,26 @@ The following code will create a search index for you based on the json files in
7171
CreateSearchIndex;
7272
```
7373

74+
## Prerequisites
75+
76+
2. To run the PowerShell script, you'll need to install the [Az PowerShell Module](https://docs.microsoft.com/powershell/azure/install-az-ps)
77+
7478
## Running the PowerShell Script
7579

7680
> If you're new to PowerShell, you can follow the instructions on [How to run PowerShell script file on Windows 10](https://www.windowscentral.com/how-create-and-run-your-first-powershell-script-file-windows-10) to help you get started.
7781
7882
To run the [PowerShell script](./deploy.ps1):
7983

8084
1. Open PowerShell and navigate to this folder.
85+
86+
```cmd
87+
cd "00 - Resource Deployment"
88+
```
89+
8190
2. Run the following command:
8291
8392
```cmd
84-
./deploy.ps1
93+
./deploy.ps1
8594
```
8695
87-
3. After running the script, you'll be prompted to login and provide additional information.
96+
3. After running the script, you'll be prompted to login and provide additional information.

README.md

+25-19
Original file line numberDiff line numberDiff line change
@@ -47,48 +47,54 @@ Clone or download this repository and then navigate through each of these folder
4747

4848
![the cognitive indexing pipelines used for processing unstructured data in Azure Search](images/architecture.jpg)
4949

50-
### [00 - Resource Deployment](./00%20-%20Resource%20Deployment)
51-
The contents of this folder show you how to deploy the required resources to your Azure subscription. You can do this either through the [Azure portal](https://portal.azure.com) or using the provided [PowerShell script](./00%20-%20Resource%20Deployment/deploy.ps1).
50+
### [00 - Resource Deployment](https://github.com/Azure-Samples/azure-search-knowledge-mining/00%20-%20Resource%20Deployment)
51+
52+
The contents of this folder show you how to deploy the required resources to your Azure subscription. You can do this either through the [Azure portal](https://portal.azure.com) or using the provided [PowerShell script](https://github.com/Azure-Samples/azure-search-knowledge-mining/00%20-%20Resource%20Deployment/deploy.ps1).
5253

5354
Alternatively, you can automatically deploy the required resources using this button:
5455

5556
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure-Samples%2Fazure-search-knowledge-mining%2Fmaster%2Fazuredeploy.json" target="_blank">
5657
<img src="http://azuredeploy.net/deploybutton.png"/>
57-
</a>
58+
</a>
59+
60+
### [01 - Search Index Creation](https://github.com/Azure-Samples/azure-search-knowledge-mining/01%20-%20Search%20Index%20Creation)
5861

59-
### [01 - Search Index Creation](./01%20-%20Search%20Index%20Creation)
6062
This folder contains a Postman collection that you can use to create a search index. The collection is pre-configured to take advantage of out-of-the-box Cognitive Search functionality.
6163

6264
We recommend using this collection to create an initial search index and then iterating by editing the postman collection and adding custom skills as needed.
6365

64-
### [02 - Web UI Template](./02%20-%20Web%20UI%20Template)
65-
This folder contains a basic Web UI Template, written in .NET Core, which you can configure to query your search index. Follow the steps outlined in the [Web UI Template README file](./02%20-%20Web%20UI%20Template/README.md) to integrate your new search index into the web app.
66+
### [02 - Web UI Template](https://github.com/Azure-Samples/azure-search-knowledge-mining/02%20-%20Web%20UI%20Template)
67+
68+
This folder contains a basic Web UI Template, written in .NET Core, which you can configure to query your search index. Follow the steps outlined in the [Web UI Template README file](https://github.com/Azure-Samples/azure-search-knowledge-mining/02%20-%20Web%20UI%20Template/README.md) to integrate your new search index into the web app.
69+
70+
### [03 - Data Science & Custom Skills](https://github.com/Azure-Samples/azure-search-knowledge-mining/03%20-%20Data%20Science%20and%20Custom%20Skills)
6671

67-
### [03 - Data Science & Custom Skills](./03%20-%20Data%20Science%20and%20Custom%20Skills)
6872
This folder contains examples and templates to add your own custom skills to your solution. These custom skills help to align the solution to the needs of your particular use case. This step is entirely optional and may be skipped if not needed.
6973

7074
For additional samples and information on custom skill development, see the [Custom skill documentation](https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-interface). .NET Azure Function Custom Skills have moved to the [Power Skills repository](https://github.com/Azure-Samples/azure-search-power-skills).
7175

72-
### [04 - Reporting](./04%20-%20Reporting)
76+
### [04 - Reporting](https://github.com/Azure-Samples/azure-search-knowledge-mining/04%20-%20Reporting)
77+
7378
This folder contains pre-built PowerBI reports that you can use to monitor your solution and to understand user search behavior. They leverage data captured through [Application Insights](https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview) and can be modified to meet your particular business objectives. This step is entirely optional and may be skipped if not needed.
7479

75-
### [Sample Documents](./sample_documents)
80+
### [Sample Documents](https://github.com/Azure-Samples/azure-search-knowledge-mining/sample_documents)
81+
7682
This folder contains a small data set in a variety of file formats that you can use to build your solution if you don't have another data set available.
7783

78-
### [Workshop](./workshops)
84+
### [Workshop](https://github.com/Azure-Samples/azure-search-knowledge-mining/workshops)
85+
7986
Become an Azure Cognitive Search expert in a day!
8087
This folder contains a self paced workshop that teaches you everything you need to know. Most developer with Azure familiarity should be able to complete the majority of the modules below in 8 hours.
8188

82-
+ [Module 0 - Pre-Requisites](./workshops/Module%200.md) (*you must complete prior to moving on!*)
83-
+ [Module 1 - Using Azure Portal to Build a Search Index and Knowledge Store](./workshops/Module%201.md)
84-
+ [Module 2 - Visualizing the Results with a Demo FrontEnd](./workshops/Module%202.md)
85-
+ [Module 3 - Introduction to Custom Skills and Azure Functions](./workshops/Module%203.md)
86-
+ [Module 4 - Learning the Object Model](./Module%204.md)
87-
+ [Module 5 - Advanced Azure Cognitive Search: Analyzers and Scoring Profiles](./workshops/Module%205.md)
88-
+ [Module 6 - Analyzing Your Data with PowerBI](./workshops/Module%206.md)
89+
+ [Module 0 - Pre-Requisites](https://github.com/Azure-Samples/azure-search-knowledge-mining/workshops/Module%200.md) (*you must complete prior to moving on!*)
90+
+ [Module 1 - Using Azure Portal to Build a Search Index and Knowledge Store](https://github.com/Azure-Samples/azure-search-knowledge-mining/workshops/Module%201.md)
91+
+ [Module 2 - Visualizing the Results with a Demo FrontEnd](https://github.com/Azure-Samples/azure-search-knowledge-mining/workshops/Module%202.md)
92+
+ [Module 3 - Introduction to Custom Skills and Azure Functions](https://github.com/Azure-Samples/azure-search-knowledge-mining/workshops/Module%203.md)
93+
+ [Module 4 - Learning the Object Model](https://github.com/Azure-Samples/azure-search-knowledge-mining/Module%204.md)
94+
+ [Module 5 - Advanced Azure Cognitive Search: Analyzers and Scoring Profiles](https://github.com/Azure-Samples/azure-search-knowledge-mining/workshops/Module%205.md)
95+
+ [Module 6 - Analyzing Your Data with PowerBI](https://github.com/Azure-Samples/azure-search-knowledge-mining/workshops/Module%206.md)
8996
+ [Module 7 - Using Azure Cognitive Search to index structured data](./workshops/Module%207.md) (Optional)
9097

91-
9298
## License
9399

94-
Please refer to [LICENSE](./LICENSE.md) for all licensing information.
100+
Please refer to [LICENSE](https://github.com/Azure-Samples/azure-search-knowledge-mining/LICENSE.md) for all licensing information.

azuredeploy.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
},
9090
"variables": {
9191
"hostingPlanName": "[concat(parameters('resourcePrefix'), '-plan')]",
92-
"storageAccountName": "[concat(parameters('resourcePrefix'), 'storage')]",
92+
"storageAccountName": "[concat(parameters('resourcePrefix'), 'str')]",
9393
"websiteName": "[concat(parameters('resourcePrefix'), '-site')]",
9494
"appInsightsName": "[concat(parameters('resourcePrefix'), '-app-insights')]",
9595
"searchServiceName": "[concat(parameters('resourcePrefix'), '-search-service')]",

0 commit comments

Comments
 (0)