Bsa.Search.Core.Rest 7.0.6

dotnet add package Bsa.Search.Core.Rest --version 7.0.6
NuGet\Install-Package Bsa.Search.Core.Rest -Version 7.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bsa.Search.Core.Rest" Version="7.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bsa.Search.Core.Rest --version 7.0.6
#r "nuget: Bsa.Search.Core.Rest, 7.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Bsa.Search.Core.Rest as a Cake Addin
#addin nuget:?package=Bsa.Search.Core.Rest&version=7.0.6

// Install Bsa.Search.Core.Rest as a Cake Tool
#tool nuget:?package=Bsa.Search.Core.Rest&version=7.0.6

Bsa.Search.Core is a .Net Core library providing indexing and fast full text search. Technical characteristics of approximately 100 thousand simple queries per minute, on the index of 40 million documents, or about 8 thousand complex queries

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.6 182 12/11/2023
7.0.5 113 9/15/2023
7.0.4 114 9/15/2023
7.0.3 132 8/31/2023
7.0.2 118 8/31/2023
7.0.1 108 8/31/2023
7.0.0 112 8/31/2023
6.0.6 88 12/11/2023
6.0.5 101 9/15/2023
6.0.4 87 9/15/2023
6.0.3 101 8/31/2023
6.0.2 108 8/31/2023
6.0.1 125 8/31/2023
6.0.0 106 8/31/2023
3.1.14 162 12/13/2023
3.1.13 88 12/11/2023
3.1.12 104 9/15/2023
3.1.11 91 9/15/2023
3.1.10 97 9/15/2023
3.1.9 156 8/31/2023
3.1.8 111 8/31/2023
3.1.7 125 8/31/2023
3.1.6 109 8/31/2023
2.0.5 437 11/24/2022
2.0.4 372 11/24/2022
2.0.2 377 11/18/2022
2.0.1 382 11/17/2022
2.0.0 392 11/17/2022

//Api version 2.0.22 or higher
// https://bsasearch.org/Bsa.Search.2.0.22.zip
var service = new SearchService("http://localhost:2664");
 var name = "test_index";

 if (!service.IsExists(name))
 {
  Console.WriteLine("Index does not exists");
  service.CreateIndex(name);
 }

 while (!service.IsReady(name))
 {
  Thread.Sleep(100);
 }

 var externalid = "ExternalId";
 var indexDocumentDatas = new List<IndexDocumentData>()
 {
  new IndexDocumentData()
  {
   Id = externalid,
   Overwrite = true,
   Fields = new List<IndexFieldData>()
  {
   new IndexFieldData(){Value = "one two nine", Name = "content"}
  }}
 };
 service.Indexing(new IndexingDocumentBulkRequest()
 {
  IndexName = name,
  Items = indexDocumentDatas,
 });
 var result = service.Search(new SearchDocumentRequest()
 {
  Field = "*",
  Count = 100000,
  IndexName = name,
  IsShort = false,
  Query = "one & two",

 });
 if (result.Hits.Length == 0)
  Console.WriteLine("Data not found");