Delaware.Kentico.Xperience.Typesense 1.0.18-beta-1

This is a prerelease version of Delaware.Kentico.Xperience.Typesense.
dotnet add package Delaware.Kentico.Xperience.Typesense --version 1.0.18-beta-1                
NuGet\Install-Package Delaware.Kentico.Xperience.Typesense -Version 1.0.18-beta-1                
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="Delaware.Kentico.Xperience.Typesense" Version="1.0.18-beta-1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Delaware.Kentico.Xperience.Typesense --version 1.0.18-beta-1                
#r "nuget: Delaware.Kentico.Xperience.Typesense, 1.0.18-beta-1"                
#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 Delaware.Kentico.Xperience.Typesense as a Cake Addin
#addin nuget:?package=Delaware.Kentico.Xperience.Typesense&version=1.0.18-beta-1&prerelease

// Install Delaware.Kentico.Xperience.Typesense as a Cake Tool
#tool nuget:?package=Delaware.Kentico.Xperience.Typesense&version=1.0.18-beta-1&prerelease                

Xperience by Kentico Typesense integration by delaware consulting

Description

This integration enables you to create Typesense search collections to collection content of pages (content types with the 'Page' feature enabled) from the Xperience content tree using a code-first approach. To provide a search interface for the collectioned content, developers can use the .NET API, JavaScript API, or the InstantSearch.js library.

Be aware that this integration has been developed by delaware consulting and is not an official Kentico product.

Library Version Matrix

Xperience Version Library Version
>= 29.0.0 >= 4.1.0
28.x >= 3.x
>= 26.2.0, < 27.0.0 2.x

Dependencies

Package Installation

Add the package to your application using the .NET CLI

dotnet add package Kentico.Xperience.Typesense

Quick Start

  1. Add configuration from your Typesense account to the ASP.NET Core appsettings.json file:

     "CMSTypesenseSearch": {
     "ApiKey": "<your collectioning API key>",
     "Node": {
       "Host": "<your typesense host (localhost)>",
       "Port": <your typesense port (8108)>,
       "Protocol": "<your typesense protocol (http)>"
     }
    },
    
  2. Define a custom DefaultTypesenseCollectionStrategy implementation to customize how content pages/content items are processed for the collection. See Custom-collection-strategy.md

  3. Add this library to the application services, registering your custom DefaultTypesenseCollectionStrategy and Typesense services

    // Program.cs
    services.AddKenticoTypesense(configuration);
    services.RegisterStrategy<GlobalTypesenseCollectionStrategy>("DefaultStrategy");
    
  4. Create an collection in Xperience's Administration within the Search application added by this library. Administration search edit form

  5. Rebuild the collection in Xperience's Administration within the Search application added by this library. Administration search edit form

  6. Display the results on your site with a Razor View 👍 .

Full Instructions

View the Usage Guide for more detailed instructions.

Contributing

To see the guidelines for Contributing to Kentico open source software, please see Kentico's CONTRIBUTING.md for more information and follow the Kentico's CODE_OF_CONDUCT.

Instructions and technical details for contributing to this project can be found in Contributing Setup.

License

Distributed under the MIT License. See LICENSE.md for more information.

Support

We didn't provide support for this project, but you can submit an issue or a pull request. The feedbacks are welcome.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on Delaware.Kentico.Xperience.Typesense:

Package Downloads
Delaware.Kentico.Xperience.Typesense.Admin

Admin part.Enables the creation of Typesense search indexes and the indexing of Xperience website channel pages and reusable content items.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.18-beta-1 99 9/17/2024
1.0.17-beta-1 69 9/3/2024
1.0.16-beta-1 65 8/28/2024
1.0.15-beta-1 71 8/28/2024
1.0.14-beta-1 56 8/28/2024
1.0.13-beta-1 47 8/28/2024
1.0.12-beta-1 48 8/28/2024
1.0.11-beta-1 94 8/13/2024
1.0.10-beta-1 70 8/13/2024
1.0.9-beta-1 74 8/13/2024
1.0.8-beta-1 89 8/13/2024
1.0.7-beta-1 73 8/13/2024
1.0.6-beta-1 58 8/1/2024
1.0.4-beta-1 57 8/1/2024
1.0.3-beta-1 69 7/16/2024
1.0.2-beta-1 59 7/5/2024
1.0.1-beta-1 62 7/2/2024
1.0.0-beta-1 63 7/2/2024
0.0.5-beta-1 57 7/2/2024