mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
512 B
20 lines
512 B
using System;
|
|
|
|
namespace ZeroLevel.Sleopok.Engine.Models
|
|
{
|
|
public sealed class SleoIndexAttribute
|
|
: Attribute
|
|
{
|
|
public readonly string Name;
|
|
public readonly float Boost;
|
|
public readonly bool AvaliableForExactMatch;
|
|
|
|
public SleoIndexAttribute(string name, float boost = 1.0f, bool avaliableForExactMatch = false)
|
|
{
|
|
Name = name;
|
|
Boost = boost;
|
|
AvaliableForExactMatch = avaliableForExactMatch;
|
|
}
|
|
}
|
|
}
|