Esamino i tuoi contenuti per aiutarti a trovare rapidamente le risposte alle tue domande.
Fornisce accesso tramite API a tutte le funzionalità, le impostazioni, le opzioni avanzate e i prodotti ML/AI di Algolia
Opzioni di installazione: .NET CLI, Console di gestione dei pacchetti NuGet, NuGet.org
Ogni richiesta e ogni risposta sono digitate
POCO
Strategia di riprova in background per garantire la disponibilità del sistema
Elaborazione a lotti tramite iteratori per ottimizzare il numero di chiamate di rete
Funzionalità di reindicizzazione senza interruzioni del servizio
Client HTTP iniettabile
Metodi asincroni e sincroni per interagire con l'API di Algolia
da .NET Standard 1.3 a .NET Standard 2.1,
da .NET Core 1.0 a .NET Core 3.0,
Da .NET Framework 4.5 a .NET Framework 4.7.1
API .NET per C# e F#
Supporta ASP.NET, MVC, WebAPI
link principali
INDICE
List<Contact> contacts = new List<Contact>
{
new Contact { ObjectID = "myID1", Firstname = "Jimmie", Lastname = "Barninger" },
new Contact { ObjectID = "myID2", Firstname = "Warren", Lastname = "Speach" }
};
index.SaveObjects(contacts);
// Asynchronous
await index.SaveObjectsAsync(contacts);
RICERCA
SearchIndex index = client.SearchIndex("contacts");
// Synchronous
var result = index.Search<Contact>(new Query("query string"));
// Synchronous with settings
var result = index.Search<Contact>(new Query("query string")
{
AttributesToRetrieve = new List<string> { "firstname", "lastname" }
HitsPerPage = 50
});
// Asynchronous
var result = await index.SearchAsync<Contact>(new Query("query string"));
// Asynchronous with settings
var result = await index.SearchAsync<Contact>(new Query("query string")
{
AttributesToRetrieve = new List<string> { "firstname", "lastname" }
HitsPerPage = 50
});