Info
Version: | 1.0.1 |
Author(s): | Knowit Experience Bergen / Håvard Olsen |
Last Update: | Thursday, August 3, 2017 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/KXB.Umbraco.Search |
Install
Install-Package KXB.Umbraco.Search
dotnet add package KXB.Umbraco.Search
paket add KXB.Umbraco.Search
KXB.Umbraco.Search Download (Unzip the "nupkg" after downloading)
Dependencies
- UmbracoCms.Core(>= 7.6.0)
- ClientDependency(>= 1.9.2)
- log4net(>= 2.0.8)
- Microsoft.AspNet.Mvc(>= 5.2.3)
- Microsoft.Owin(>= 3.0.1)
- Microsoft.Owin.Security(>= 3.0.1)
- Microsoft.Owin.Security.Cookies(>= 3.0.1)
- Microsoft.Owin.Security.OAuth(>= 3.0.1)
- Newtonsoft.Json(>= 10.0.2)
Tags
It builds a search query based on some default properties like nodeName and pageTitle, as well as a list of custom properties. It also uses fuzzy search.
The package also contains a IndexHandler which adds culture to the index, making it possible to do language spesific search.
This is done by looking at the different domains spesified in the "languageMaster" node.
By "languageMaster" I mean the top-level node for a language.
Getting started:
AppSettings:
- KXB.Umbraco.Search.LanguageMasterAlias = Alias for the language-node
- Default value = "LanguageMaster"
- KXB.Umbraco.Search.UseLanguageSpesificSearch = true/false
- Default value = true
- KXB.Umbraco.Search.FuzzyhitFactor = 0.0-1.0. Spesifies the score needed to be included as a hit in the fuzzy search.
- Default value = 0.7
=========================================================================
This package is part a set of smaller modules that I have found useful when working with umbraco.
Other packages include:
- KXB.Umbraco.RouteHijacking
- KXB.Umbraco.NotFoundHandler.