Table of Contents

Class FuzzyString

Namespace
MongoDB.Entities
Assembly
MongoDB.Entities.dll

Use this type to store strings if you need fuzzy text searching with MongoDB

TIP: There's a default limit of 250 characters for ensuring best performance. If you exceed the default limit, an exception will be thrown. You can increase the limit by sacrificing performance/resource utilization by setting the static property FuzzyString.CharacterLimit = 500 at startup.

public sealed class FuzzyString
Inheritance
FuzzyString
Inherited Members

Constructors

FuzzyString()

public FuzzyString()

FuzzyString(string)

instantiate a FuzzyString object with a given string

public FuzzyString(string value)

Parameters

value string

the string value to create the FuzzyString with

Properties

CharacterLimit

public static int CharacterLimit { get; set; }

Property Value

int

Value

public string Value { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.