Hi,
in my project, users look for text nodes containing certain words. However, some of these queries result in a very large number of hits, with a lot of irrelevant ones. Is it possible to search with excluding xqueries?
For example in this document
<p>A B C D E F</p> <p>A B D E F C</p> <p>A B D E F</p> <p>A B D F</p>
when looking for
[text() contains contains text "A" ftand "B" ftand "E" ordered distance at most 3 words]
I would like to make explicit, that "C" should not occur at all, to ensure to find only the third node, not the first nor second one -- i.e., "C" should not occur outside the sequence, nor inside the sequence.
Is this possible at all? Can I also specify a query where "C" would be allowed to occur outside the sequence, like in the second node, but not inside like in the first node? Or the other way around?
Best regards
Cerstin