Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Conversation

@iurii-i-popov
Copy link
Contributor

@iurii-i-popov iurii-i-popov commented Mar 16, 2020

Support of ireseach phrases with prefix, wildcard, levenshtein, selection of terms.

prefix:

{ "starts_with" : [ 'f' ] }
{ "starts_with" : 'f' }

wildcard:

{ "wildcard" : [ 'f%x' ] } // 'like' is a key word
{ "wildcard" : 'f%x' }

{ "levenshtein_match" : [ 'fox', 2 ] }

{ "terms" : ['foo', 'bar'] } or [ [ 'foo', 'bar' ] ]

arangodb/backlog#219

@iurii-i-popov iurii-i-popov requested review from Simran-B and gnusi March 16, 2020 08:34
@iurii-i-popov
Copy link
Contributor Author

iurii-i-popov commented Mar 16, 2020

To merge after #360 (LIKE) and LEVENSHTEIN_DISTANCE from @gnusi .

@iurii-i-popov
Copy link
Contributor Author

Do not merge. The feature has bugs.

@iurii-i-popov
Copy link
Contributor Author

To merge. Bugs have been fixed in a new Alpha.

@Simran-B Simran-B added this to the 3.7 milestone Mar 26, 2020
@Simran-B Simran-B self-assigned this Mar 26, 2020
Copy link
Collaborator

@Simran-B Simran-B left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging for now. For GA, we need improve the description of the PHRASE() function. There are many options combinations now with object "tokens". We need to exchange the word "token" here if it means { TERMS: [...]} or similar, as opposed to the result of an Analyzer splitting up a text into words.

@Simran-B Simran-B merged commit 721dc58 into master Mar 26, 2020
@Simran-B Simran-B deleted the feature/phrase_filter_pref_regex branch March 26, 2020 12:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

3 participants