Bsa.Search.Core.Rest 7.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Bsa.Search.Core.Rest --version 7.0.0                
NuGet\Install-Package Bsa.Search.Core.Rest -Version 7.0.0                
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.0" />                
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.0                
#r "nuget: Bsa.Search.Core.Rest, 7.0.0"                
#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.0

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

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 226 12/11/2023
7.0.5 150 9/15/2023
7.0.4 145 9/15/2023
7.0.3 163 8/31/2023
7.0.2 147 8/31/2023
7.0.1 137 8/31/2023
7.0.0 139 8/31/2023
6.0.7 430 7/16/2024
6.0.6 117 12/11/2023
6.0.5 132 9/15/2023
6.0.4 115 9/15/2023
6.0.3 132 8/31/2023
6.0.2 138 8/31/2023
6.0.1 154 8/31/2023
6.0.0 135 8/31/2023
3.1.14 872 12/13/2023
3.1.13 122 12/11/2023
3.1.12 135 9/15/2023
3.1.11 120 9/15/2023
3.1.10 128 9/15/2023
3.1.9 194 8/31/2023
3.1.8 146 8/31/2023
3.1.7 160 8/31/2023
3.1.6 138 8/31/2023
2.0.5 465 11/24/2022
2.0.4 405 11/24/2022
2.0.2 411 11/18/2022
2.0.1 409 11/17/2022
2.0.0 418 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");