Is there a way to use udfs in index bindings? I tried defining an identity function as
Query(Lambda("x", Var("x"))) and use it in an index binding but it fails with “Field binding must be a pure unary function.”
I went down this path because I can’t seem to find any built in functions to generate an array of ints from 0 to n, is there any way to do this with built in functions? I was able to define a recursive function that does this but it seems I can’t use it in an index binding. I’m trying to do this in order to implement trigram search (tokenize into 3 character chunks and search for exact matches). Is there another way to do this? Or any other ways of implementing some kind of text search.
Update: found out about the NGram function, is there a page with all built in functions? I don’t see it listed in the built in function section of the API reference documentation.