Click or drag to resize

WordLevenshteinFilter Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
This filter selects only records whose specified string column has a value that is within a specified WordLevenshtein distance to a query string. The query string is represented by a WordLevenshtein object.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.TransactionalColumnFilter
    Telogis.GeoBase.TransactionalWordLevenshteinFilter

Namespace:  Telogis.GeoBase.Transactional
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class WordLevenshteinFilter : ColumnFilter

The WordLevenshteinFilter type exposes the following members.

Constructors
  NameDescription
Public methodWordLevenshteinFilter
Creates a WordLevenshteinFilter where the given column of a record has a value that is within a specified WordLevenshtein distance to a query string.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Examples
C#
// The filter refines the records to those whose poi_name column value has a distance less than
// or equal to 3 from the string "Lanscaping".
using (var lev = new GeoBase.Indexes.WordLevenshtein("Lanscaping", 5, 1, 4)) {
    tblPoi.Indexes["poi_name_idx"].Query(new WordLevenshteinFilter("poi_name", lev, 3));
}
See Also