update dependency - fix query with dash (-) ElasticSearch reads as not
This commit is contained in:
parent
7efbcca2da
commit
8a5a527788
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NewtonSoft.Json" Version="13.0.1" />
|
||||
<PackageReference Include="NewtonSoft.Json" Version="13.0.2" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\fcs-common\FCS.Lib.Common.csproj" />
|
||||
|
|
|
@ -105,7 +105,7 @@ namespace FCS.Lib.Virk
|
|||
);
|
||||
}
|
||||
|
||||
query.EntityName = query.EntityName.Replace("A/S", "").Trim().Replace(" ", " AND ");
|
||||
query.EntityName = query.EntityName.Replace("A/S", "").Trim().Replace(" ", " AND ").Replace("-", " AND ");
|
||||
// name query
|
||||
return new JObject(
|
||||
new JProperty("_source",
|
||||
|
|
Loading…
Reference in a new issue