dse_graph.predicates
class Search
Static Methods
token
(value)Search any instance of a certain token within the text property targeted.
- Parameters
-
value – the value to look for.
token_prefix
(value)Search any instance of a certain token prefix withing the text property targeted.
- Parameters
-
value – the value to look for.
token_regex
(value)Search any instance of the provided regular expression for the targeted property.
- Parameters
-
value – the value to look for.
prefix
(value)Search for a specific prefix at the beginning of the text property targeted.
- Parameters
-
value – the value to look for.
regex
(value)Search for this regular expression inside the text property targeted.
- Parameters
-
value – the value to look for.
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.
-
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.
-
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
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 convertvalue
to degrees.)
-