Bsa.Search.Core.Rest 9.0.7

dotnet add package Bsa.Search.Core.Rest --version 9.0.7
                    
NuGet\Install-Package Bsa.Search.Core.Rest -Version 9.0.7
                    
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="9.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bsa.Search.Core.Rest" Version="9.0.7" />
                    
Directory.Packages.props
<PackageReference Include="Bsa.Search.Core.Rest" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bsa.Search.Core.Rest --version 9.0.7
                    
#r "nuget: Bsa.Search.Core.Rest, 9.0.7"
                    
#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.
#:package Bsa.Search.Core.Rest@9.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bsa.Search.Core.Rest&version=9.0.7
                    
Install as a Cake Addin
#tool nuget:?package=Bsa.Search.Core.Rest&version=9.0.7
                    
Install as a Cake Tool

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 net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
9.0.7 36 7/18/2025
8.0.7 40 7/18/2025
7.0.6 272 12/11/2023
7.0.5 188 9/15/2023
7.0.4 173 9/15/2023
7.0.3 198 8/31/2023
7.0.2 188 8/31/2023
7.0.1 179 8/31/2023
7.0.0 178 8/31/2023
6.0.7 1,141 7/16/2024
6.0.6 152 12/11/2023
6.0.5 164 9/15/2023
6.0.4 144 9/15/2023
6.0.3 177 8/31/2023
6.0.2 181 8/31/2023
6.0.1 192 8/31/2023
6.0.0 175 8/31/2023
3.1.14 962 12/13/2023
3.1.13 162 12/11/2023
3.1.12 165 9/15/2023
3.1.11 144 9/15/2023
3.1.10 155 9/15/2023
3.1.9 229 8/31/2023
3.1.8 185 8/31/2023
3.1.7 205 8/31/2023
3.1.6 178 8/31/2023
2.0.5 518 11/24/2022
2.0.4 470 11/24/2022
2.0.2 464 11/18/2022
2.0.1 460 11/17/2022
2.0.0 478 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");