Hi Ioannis,
could you please provide us with a fully working example?
If you work with mixed content, you could as well have a look at our documentation [1].
Best, Christian
[1] http://docs.basex.org/wiki/Full-Text#Mixed_Content
On Mon, Mar 10, 2014 at 10:52 AM, Ioannis Kavvouras i.kavvouras@di.uoa.gr wrote:
We query on fulltext an xml file. After some experiments we found out that if the "terms" are in the middle of the text-element the 'ft:contains' returns true. On the other hand, if the query is the whole text-element it returns false. ie. ows:IndividualNameFirstName LastName</ows:IndividualName>
the query -------- query -------- for $r in /server where ft:contains($r, ( 'FirstName' , 'LastName' ), <options><fuzzy value="true"/><mode value='any'/></options>) return $r --- end of query --- returns an empty set. In addition, queries with fuzzy value equal to false or true and mode value phrase return also an empty set.
Regards Yannis _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk