Hi all,
in the documentation for the ft:search-function is the following example:
ft:search("db", ("A", "B"), map { "mode": "all words", "distance": { "max": "5", "unit": "words" } })
It's throwing this error for line 3: "Invalid value, simple expression expected." I'm using BaseX Version 8.3.1. Did the notation change or what's going wrong?
Best regards, Günter
in the documentation for the ft:search-function is the following example:
ft:search("db", ("A", "B"), map { "mode": "all words", "distance": { "max": "5", "unit": "words" } })
In the example, the old map syntax was used. This example works:
ft:search("db", ("A", "B"), map { "mode": "all words", "distance": map { "max": "5", "unit": "words" } })
It's throwing this error for line 3: "Invalid value, simple expression expected." I'm using BaseX Version 8.3.1. Did the notation change or what's going wrong?
Best regards, Günter
basex-talk@mailman.uni-konstanz.de