dse_graph.predicates

class Search

Static Methods

static

token

(value)

Search any instance of a certain token within the text property targeted.

Parameters

value – the value to look for.

static

token_prefix

(value)

Search any instance of a certain token prefix withing the text property targeted.

Parameters

value – the value to look for.

static

token_regex

(value)

Search any instance of the provided regular expression for the targeted property.

Parameters

value – the value to look for.

static

prefix

(value)

Search for a specific prefix at the beginning of the text property targeted.

Parameters

value – the value to look for.

static

regex

(value)

Search for this regular expression inside the text property targeted.

Parameters

value – the value to look for.

static

fuzzy

(value, distance)

Search for a fuzzy string inside the text property targeted.

Parameters
  • value – the value to look for.

  • distance – The distance for the fuzzy search. ie. 1, to allow a one-letter misspellings.

static

token_fuzzy

(value, distance)

Search for a token fuzzy inside the text property targeted.

Parameters
  • value – the value to look for.

  • distance – The distance for the token fuzzy search. ie. 1, to allow a one-letter misspellings.

static

phrase

(value, proximity)

Search for a phrase inside the text property targeted.

Parameters
  • value – the value to look for.

  • proximity – The proximity for the phrase search. ie. phrase(‘David Felcey’, 2).. to find ‘David Felcey’ with up to two middle names.

class Geo

Static Methods

static

inside

(value, units=1)

Search any instance of geometry inside the Distance targeted.

Parameters
  • value – A Distance to look for.

  • units – The units for value. See GeoUnit enum. (Can also provide an integer to use as a multiplier to convert value to degrees.)