azure-samples / azure-search-knowledge-mining Goto Github PK
View Code? Open in Web Editor NEWAzure Search Knowledge Mining Accelerator
License: MIT License
Azure Search Knowledge Mining Accelerator
License: MIT License
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
Hi
I'm getting the following error when trying to copy the blob container data to my blob storage area. Any ideas what might be causing this? When I get to stage 2 and completed the UI build using Visual studio the autosuggest works but it doesn't return any search results on the page. I'm assuming this second bug is caused by no metadata being migrated.
"The properties and metadata for this container cannot be determined and will not be copied to the new container. Proceed with the copy?"
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Thanks! We'll be in touch soon.
How to remove permanent JSON data from Azure Search Service
Please provide us with the following information:
x
)- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Attempt to access the URL in module 0 of the course, step 4, copy the example files from:
https://kmworkshop.blob.core.windows.net/clinical-trials-small?sv=2019-10-10&st=2020-09-14T19%3A21%3A00Z&se=2022-09-16T19%3A21%3A00Z&sr=c&sp=rl&sig=CtoGmOSkbap8ZOslI9EYeWs148gw4NdYpynU0Eyoj4s%3D
The URL does not work in Storage Explorer when you attempt to add it, and it does not work in a browser, failing with an authentication failure.
In the browser you will receive the following error:
AuthenticationFailed
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:688c96da-401e-0048-7534-5ed8ae000000 Time:2021-06-10T20:10:28.8938011Z
Signature did not match. String to sign used was rl 2020-09-14T19:21:00Z 2022-09-16T19:21:00Z /blob/kmworkshop/$root 2019-10-10 c
Expect to access the sample files so they can be copied to the student storage account
Windows 10
Thanks! We'll be in touch soon.
x
)- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Any roadmap of Web UI for nodejs or another language?
x
)- [ ] bug report -> please search issues before submitting
- [ X ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
The steps are the same as the Workshop 1 and 2
Hi, firstly I would like to thank you because of how great this project is. I have been using it for a while now and now I am trying to work on a future step on my own, but I am not familiarized that well with the code structure of the repository. What I would like to do is to have four different buttons on the home page (that I know how to do in the Home HTML) but what I would like to ask is how can I link that button to one storage and just display the files within that Blob Storage and the other buttons to the next storages. I think it has to do something with the storage Controller, but I am not sure.
Thanks in advance
Windows 10.
Thanks! We'll be in touch soon.
Please provide us with the following information:
Hi, I'm right now doing the guide and following step by step, but encountered the same problem as in the https://github.com/Azure-Samples/azure-search-knowledge-mining/issues/43.
The thing is it does show the webpage but when I do the search it does not display any results or any of the search fields as it shows at the main ReadME file.
I was trying to debug it as you commented on the issue, but it does show to be iterating correctly at the fields and everything, I am not sure how to address the issue.
thanks
x
)- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
None that I am aware of.
The search field should be able to display with the fields in the searchmodel.cs file
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
windows 10
Thanks! We'll be in touch soon.
I didn't have Locations-field at all in the index definition. I had Organizations-field. Well guessed they are probably the same. But then in Module 2 the VS solution didn't work, it opened the web page but didn't bring any results.
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
The link https://github.com/Azure-Samples/azure-search-knowledge-mining/tree/master/02%20-%20Web%20UI%20Template refers to a skill subfolder that has moved to https://github.com/Azure-Samples/azure-search-knowledge-mining/tree/master/03 - Data Science and Custom Skills/Azure Function Custom Skills . Please remove the text saying: "The Cognitive Search Template contains two projects"... for more clarity
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
I cloned the Github repo to a local folder and followed the instructions to deploy the solution via the Portal to my subscription. I tried the Search Explorer and the query returns back search results. Then I set up the appsettings.json outlined in the 02 - Web UI Template and compiled it. The search results do not get displayed now but the entity map returns back the network diagram visual.
The console returns an error "entityMap.js:47 Uncaught TypeError: Cannot read property 'style' of null"
Search Results are returned
Windows 10, Azure Commercial Subscription
Thanks! We'll be in touch soon.
When i try to excecute the Web UR Template from visual studio 2019 i receive an error .
An unhandled exception occurred while processing the request.
TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
Please provide us with the following information:
x
)- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Make CustomEntityLookup as Startup Project and run locally.
With the current code and Output Type of Class Library, error thrown is "A project with an Output Type of Class Library cannot be started directly. In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project".
Azure Function to run and be tested locally.
Windows 10
I tried changing the output type from Class Library to Console/Windows application, but received the error: 'Program does not contain a static 'Main' method suitable for an entry point. I added a static Main at the end of the CustomEntityLookup class in CustomEntityLookup.cs, but Azure Function did not run and could not be tested.
Thanks! We'll be in touch soon.
This is an issue I found in Web UI Template. I have a search index with Collection(Ed.String) (field name : organizations) and Edm.DateTimeOffset (field name : Date) fields. I'm trying to filter based on my Date field, please find the screenshot below which has the search query
This query returns some documents when I tried it in the search explorer in Azure portal, but here when I call it in the SDK I'm getting result as null. I tried this with 'organizations' field, that one is working as expected in SDK also. This issue seems to be only for Edm.DateTimeOffset.
API Version : 2020-06-30
Steps to reproduce :
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [x] regression (a behavior that used to work and stopped in a new release)
Deploy to Azure
to Azure Service (location e.g. eastus
, but same in westeurope
, tiers all S0 or compareable)Import Data
, pick sample dataset (or any other), hit next
Attach Cognitive Services
, the provisioned Microsoft.CognitiveServices/accounts
will not show upAzure Cognitive Search can't find the CogServices service:
Creating a new CognitiveServicesAllInOne
resource shows up properly in the Search instance.
No
Provisioned Microsoft.CognitiveServices/accounts
from ARM template to show up in Search Instance
Windows 10, but should be irrelevant (all in browser)
Irrelevant
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Run CognitiveSearch.UI at end of Module 2. Type phrase in search bar when web app is launched. Exception is thrown in Visual Studio, search is not completed in browser. No other files change except for appsettings.json.
Exception thrown: 'System.NullReferenceException' in CognitiveSearch.UI.dll
Object reference not set to an instance of an object.
Search in browser completed, search results appear.
Windows 10
Thanks! We'll be in touch soon.
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
AzureRM doesn't support macOS.
MacOS platform supported as option for deployments, which can be achieved by:
Az module
instead of AzureRM module
.Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ X ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Read the README.md file, and look for the Bootcamp link.
404 error
A working Link
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [X] regression (a behavior that used to work and stopped in a new release)
Most of the workshop links are broken and will render a 'not found'. The readme has this link: https://github.com/Azure-Samples/azure-search-knowledge-mining/workshops/Module%200.md but the correct link appears to be: https://github.com/Azure-Samples/azure-search-knowledge-mining/blob/master/workshops/Module%200.md
The workshop link for Module 7 works but others do not. Displays a 'not found'.
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
In 02 - Web UI Template under 2. Run the UI, the following property is not supplied.: ACR_NAME/IMAGE_NAME.
It is not possible to run the pre-built docker image without the reference to its container registry and name.
None
That the correct container registry and name be supplied by Microsoft.
Windows 11
None
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
on the https://github.com/Azure-Samples/azure-search-knowledge-mining/tree/master/01%20-%20Search%20Index%20Creation the link to postman documentation needs to be updated.
the link is https://learning.postman.com/docs/postman/launching-postman/introduction/
link should work
Windows 10
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
I have this code added in the search.cshtml file
the selected value from drop down is not getting in the the controller parameter
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 10
Thanks! We'll be in touch soon.
Right click on CustomEntityLookup in the Solution Explorer and choose "Set as StartUp Project"
Press F5 - NOTE: You may need to allow the function to run
Once the function is running it should supply you with the URL to use for POST calls. Copy this URL.
Used postman to send a POST request
Postman Error 500
[2020-10-30T10:55:21.780] Executing 'custom-entity-lookup' (Reason='This function was programmatically called via the host APIs.', Id=9aac505f-12f4-4c98-84ec-2c927c19769c)
[2020-10-30T10:55:21.840] Custom Entity Search function: C# HTTP trigger function processed a request.
[2020-10-30T10:55:21.998] Executed 'custom-entity-lookup' (Failed, Id=9aac505f-12f4-4c98-84ec-2c927c19769c, Duration=329ms)
[2020-10-30T10:55:22.000] System.Private.CoreLib: Exception while executing function: custom-entity-lookup. CustomEntityLookup: Method not found: 'System.String System.IO.Path.Join(System.String, System.String)'.
Reponse
WIndows 10
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [ X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ X ] regression (a behavior that used to work and stopped in a new release)
I have copied the Cognitive Search UI solution several times today and tried to use it as a basis for a new app by copying the code over side by side. I couldnt make sense why the class "SearchResults" on the "DocumentSearchClient.cs" file was breaking. After reloading the source project a few times to compare and contrast, I noticed that the package is using the 11.4.0-beta.7 of Azure.Search.Documents. I did a clean install of that solution and did an upgrade to 11.4.0 and it instantly reproduced the same error.
"SearchResults" does not contain a definition for 'Answers' and no accessible extension method 'Answers'
'SearchQueryType' fores not contain a definition for 'Semantic'
It would be great to have a working example that was using the stable relase instead of a beta release. I even tried to manually find the beta release just to get the example working in my own app, but couldn't find it.
Windows 11
Visual Studio 2022
Thanks! We'll be in touch soon.
Looks like someone may have overwritten the Postman Environment variables file with the actual collection. So you are unable to import the env. settings file currently. Please fix.
Please provide us with the following information:
x
)- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
click 'Customize' menu item
FileNotFoundException: Could not find file '/app/wwwroot\css\navbar.css'.
Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, string path, bool isDirectory, Func<ErrorInfo, ErrorInfo> errorRewriter)
Microsoft.Win32.SafeHandles.SafeFileHandle.Open(string path, OpenFlags flags, int mode)
System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
System.IO.FileStream..ctor(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)
System.IO.File.AsyncStreamReader(string path, Encoding encoding)
System.IO.File.InternalReadAllTextAsync(string path, Encoding encoding, CancellationToken cancellationToken)
CognitiveSearch.UI.Controllers.AdminController.ReadCssColorProperties(string section) in AdminController.cs
CognitiveSearch.UI.Controllers.AdminController.Customize() in AdminController.cs
Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[] arguments)
System.Threading.Tasks.ValueTask.get_Result()
System.Runtime.CompilerServices.ValueTaskAwaiter.GetResult()
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask actionResultValueTask)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)
Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
No error
Azure App Service
241628
Clicking on the other two menu items are fine. Local debug in Visutal Studio is fine.
Thanks! We'll be in touch soon.
x
)- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
To fully understand cognitive search and indexing I decided I would recreate all of the resource groups and indexes by myself in the Azure portal. I created my index/indexer following the guide, step by step. This created no issues.
I ran the UI locally on my computer and I could open the homepage. When I went into search or tried to search something It would crash and produce the following code.
'metadata_title' is not a retrievable field. Only fields marked as retrievable in the index can be used in $select.
Parameter name: $select
Status: 400 (Bad Request)
Content:
{"error":{"code":"","message":"Invalid expression: 'metadata_title' is not a retrievable field. Only fields marked as retrievable in the index can be used in $select.\r\nParameter name: $select"}}
The fix is to make sure that "metadata_title" field in the index set to retrievable. This is missing in the documentation as followed;
In the picture above "metadata_title" is missing. When I created my indexes "metadata_title" was automatically created.
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Hi, I really love the repo but we should probably use Az cmdlet instead of AzureRM (which is no longer the default powershell modelue, "Az" runs in Cloud shell, is opensource and has maintenance vs the legacy AzureRM that will die next year). The changes needed are minimal, ie replace az where AzureRM (see full code below)
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 10 Enterprise 1903
$PSVersionTable.PSVersion
Major Minor Build Revision
5 1 18362 145
Version Name Repository Description
2.5.0 Az PSGallery Microsoft Azure PowerShell - Cmdlets to manage r...
More info on Az (vs AzureRM) here: https://docs.microsoft.com/en-us/powershell/azure/migrate-from-azurerm-to-az?view=azps-2.5.0 and here
https://azure.microsoft.com/en-us/blog/azure-powershell-cross-platform-az-module-replacing-azurerm/
###This is the new code for deploy.ps1
$resourceGroupName = "";
$subscriptionId = "";
$location = "SouthCentralUS";
$searchSku = "basic"; # "free", "basic", or "standard"
$searchServiceName = "";
$webappname = "";
$cogServicesName = "";
$appInsightsName = $webappname + "insights";
$storageAccountName = "";
Write-Host "Logging in...";
Login-AzureAccount;
Write-Host "Selecting subscription '$subscriptionId'";
Select-AzSubscription -SubscriptionID $subscriptionId;
$resourceProviders = @("microsoft.cognitiveservices", "microsoft.documentdb","microsoft.insights","microsoft.search","microsoft.sql","microsoft.storage");
if($resourceProviders.length) {
Write-Host "Registering resource providers"
foreach($resourceProvider in $resourceProviders) {
Register-AzResourceProvider -ProviderNamespace $resourceProvider;
}
}
#Create or check for existing resource group
$resourceGroup = Get-AzResourceGroup -Name $resourceGroupName -ErrorAction SilentlyContinue
if(!$resourceGroup)
{
Write-Host "Resource group '$resourceGroupName' does not exist.";
if(!$location) {
$location = Read-Host "please enter a location:";
}
Write-Host "Creating resource group '$resourceGroupName' in location '$location'";
New-AzResourceGroup -Name $resourceGroupName -Location $location
}
else{
Write-Host "Using existing resource group '$resourceGroupName'";
}
Write-Host "Creating Storage Account";
$storageAccount = New-AzStorageAccount -ResourceGroupName $resourceGroupName
-Name $storageAccountName -Location $location
-SkuName Standard_LRS `
-Kind StorageV2
Write-Host "Creating Cognitive Services";
$cogServices = New-AzCognitiveServicesAccount -ResourceGroupName $resourceGroupName
-Name $cogServicesName -Location $location
-SkuName S0 `
-Type CognitiveServices
Write-Host "Creating Search Service";
$searchService = New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName
-TemplateUri "https://gallery.azure.com/artifact/20151001/Microsoft.Search.1.0.9/DeploymentTemplates/searchServiceDefaultTemplate.json" -NameFromTemplate $searchServiceName
-Sku $searchSku -Location $location
-PartitionCount 1 `
-ReplicaCount 1
Write-Host "Creating App Service Plan";
$appService = New-AzAppServicePlan -Name $webappname
-Location $location -ResourceGroupName $resourceGroupName
-Tier Standard
Write-Host "Creating Web App";
$webApp = New-AzWebApp -Name $webappname
-Location $location -AppServicePlan $webappname
-ResourceGroupName $resourceGroupName `
-WarningAction SilentlyContinue
Write-Host "Creating App Insights";
$appInsights = New-AzResource -ResourceName $appInsightsName
-ResourceGroupName $resourceGroupName -Tag @{ applicationType = "web"; applicationName = $webappname}
-ResourceType "Microsoft.Insights/components" -Location $location
-PropertyObject @{"Application_Type"="web"} `
-Force
Write-Host "Connecting App Insights with Web App";
$appSetting = @{'APPINSIGHTS_INSTRUMENTATIONKEY'= $appInsights.Properties.InstrumentationKey}
$updateSettings = Set-AzWebApp -Name $webappname -ResourceGroupName $resourceGroupName -AppSettings $appSetting
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Copy the storage container that holds clinical trials from a read only location to your Storage Account.
At this step the URI provided gives a SAS token has expired error
The SAS token has expired.
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
windows 10
Thanks! We'll be in touch soon.
x
)- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Generated the Azure services in previous modules
Updated the appsettings.json
Ran the program and as soon as the web page load and I type a search value in the search field and press enter, the program stops with the following error
'Exception User-Unhandled' - System.UriFormatException: 'Invalid URI: The URI is empty' on line 413 in file DocumentSearchClient.cs where it is trying to create a new BlobContainerClient
Windows 10
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
The section titled "Add a new record to the Shaper Skill, and add a new Table Projection" is extremely confusing. When I even try to add 'new diseases input into the Shaper Skill' with what I can gather I get the error pasted below:
{
"error": {
"code": "",
"message": "Enricher definitions create a cyclic dependency"
}
}
The instructions should clearly describe the steps to add new disease inputs and new table projections.
All OSes/versions
Current version
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
I struggled to connect Docker with the resources that I provisioned. On the "02 - Web UI Template", I was unable to run this command:
"docker run -d --env-file .env -p 80:80 kmworkshop.azurecr.io/web-ui:latest"
I tried to use the visual studio path instead of using the Docker path, however, the instructions on the Visual Studio path weren't clear either. It didn't provide any instructions on how to ensure that your Web Services app was connected to the resources provisioned earlier. Maybe I'm misunderstanding the instructions there, but I'd love more clarity around that.
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Thanks! We'll be in touch soon.
Please provide us with the following information:
x
)- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Followed the Azure search knowledge mining steps, ran into issues in Cognitive UI wherein results are not displayed in UI of scanned documents or search query is not functioning as expected.
DataPlaneApiArgumentException : Unknown field '' in facet specification.
Parameter name: facet.
Stack:
at Microsoft.WindowsAzure.Search.Core.Services.FacetParser.ParseFacet(CustomerData facetSpecification) in d:\dbs\el\mbas\Source\Search\Product\SearchCore\Services\FacetParser.cs:line 85
at Microsoft.WindowsAzure.Search.Core.Services.FacetParser.ParseFacets(CustomerData[] facetSpecifications) in d:\dbs\el\mbas\Source\Search\Product\SearchCore\Services\FacetParser.cs:line 45
at Microsoft.WindowsAzure.Search.Core.Services.QueryBuilder.BuildSearchQuery(ApiSearchQuery apiSearchQuery) in d:\dbs\el\mbas\Source\Search\Product\SearchCore.WebApi.Windows\Services\QueryBuilder.cs:line 172
at Microsoft.WindowsAzure.Search.Core.Controllers.QueryControllerImpl.<>c__DisplayClass16_0.b__0(Index index) in d:\dbs\el\mbas\Source\Search\Product\SearchCore.WebApi.Windows\Controllers\QueryControllerImpl.cs:line 90
at Microsoft.WindowsAzure.Search.Core.Controllers.QueryControllerImpl.d__241.MoveNext() in d:\dbs\el\mbas\Source\Search\Product\SearchCore.WebApi.Windows\Controllers\QueryControllerImpl.cs:line 233 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.WindowsAzure.Search.Core.Controllers.QueryControllerImpl.<SearchAsync>d__16.MoveNext() in d:\dbs\el\mbas\Source\Search\Product\SearchCore.WebApi.Windows\Controllers\QueryControllerImpl.cs:line 86 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.WindowsAzure.Search.Core.Controllers.Docs20200630Controller.<Get>d__10.MoveNext() in d:\dbs\el\mbas\Source\Search\Product\SearchCore.WebApi.Windows\Controllers\2020-06-30\Docs20200630Controller.cs:line 100 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.WindowsAzure.Search.Core.Controllers.Docs20200630Controller.<Search>d__9.MoveNext() in d:\dbs\el\mbas\Source\Search\Product\SearchCore.WebApi.Windows\Controllers\2020-06-30\Docs20200630Controller.cs:line 86 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__3
1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.ExceptionHandlingActionInvoker.d__0.MoveNext() in d:\dbs\el\mbas\Source\Hosting\Product\AzureSearch.Hosting.AspNet.Windows\Http\ExceptionHandlingActionInvoker.cs:line 22
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Azure Apps Service Windows
Win
Thanks! We'll be in touch soon.
x
)- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Click on 'Deploy to Azure' button
fill in parameters, click on 'Review + Create'
You will need to Agree to the terms of service below to create this resource successfully.
Template is validated and offers option to deploy.
N/A
N/A
JS scripts for autocomplete is not invoked , is there additional setup needed?
$(function () {
$('.advancedAutoComplete').autocomplete({
source: "/home/suggest",
minLength: 2,
select: function (event, ui) {
Search();
}
});
})
Please provide us with the following information:
x
)- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
I am writing to ask about how to use a specific feature in the KM accelerator, was able to implement the accelerator, and indexed 25 documents that are searchable however when I removed those initial 25 documents, and then added new batch of documents, reindexed, new docs are showing up in the UI whereas the originally indexed docs are still appearing. What is the best way to clean up those original indexes from UI so that only the active docs in the storage appear in UI app.
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Linux
Thanks! We'll be in touch soon.
- [ ] bug report
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Use a complex type in your index, Web UI template will stop working.
Support for complex types is generally available in api-version=2019-05-06.
Support complex types by:
latest (master)
Please provide us with the following information:
x
)- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Because metadata_storage_path is encoded twice, details.js is unable to preview any file (line 24 will fail to decode the path).
I suspect it has something to do with the way the Index is created, because I have no problem to preview files with Knowledge Mining Solution Accelerator deployment.
This file cannot be previewed. Download it here to view: Download
The Index field metadata_storage_path be encoded only once.
Windows 10.
Latest.
Please provide us with the following information:
x
)- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
try to run application in dotnet core environment
startup configuration for application does not load in .net core environment.. can provide exact errors if you are unable to replicate. Proposed fix below anyhow.
successfully load configuration / appsettings
Linux - Ubuntu 16.04, dotnet core 3.1
In startup.cs if you add the following logic, it will fix the issue
public Startup(IConfiguration configuration)
{
Configuration = configuration;
if(string.IsNullOrEmpty(Configuration["OrganizationName"])) OR A BETTER CHECK IF THE CONFIG LOADED OK
{
var builder = new ConfigurationBuilder()
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
.AddEnvironmentVariables();
Configuration = builder.Build();
}
}
Thanks! We'll be in touch soon.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.