Dear Cerstin,
some quick feedback on your last e-mail, to get sure it doesn't get lost..
//*[text() contains text "Kopf Sand stecken" all words using stemming using language "de" distance at most 10 words][self::*:p or self::*:l]
gives 3 hits (in Wille, Suttner, and Cervantes), the "distance" option seems to be ignored.
True, this is a bug, which I've documented in a new GitHub issue [1]. Currently, this query returns different results if the full-text is activated or not, while it should always return the same results. Thanks for the analysis.
So I can have fuzzy OR stemming and wildcard. For searching it's OK, I copied the collection and created the other index for the copy, but as I wan't to update the collection after searching, I would have to update both collections and re-index them after updating one. Is this correct?
Yep, that's correct. Another tracker entry [2] addresses this: in future, we will only provide one single full-text index that will support both fuzzy and wildcard searches. Ideally, the new index will already support incremental update, such that there won't be any need to re-index your data.
Christian
[1] https://github.com/BaseXdb/basex/issues/359 [2] https://github.com/BaseXdb/basex/issues/346