Full-text retrieval is an essential [[Querying|query]] feature for working with XML documents, and BaseX was the first query processor that fully supported the [http://www.w3.org/TR/xpath-full-text-10/ W3C XQuery Full Text 1.0] Recommendation. This page lists some singularities and extensions of the BaseX implementation.
==Syntax==
In 2010, the official syntax of the full-text expression has been changed from <code>ftcontains</code> to <code>contains text</code>. While BaseX 6.0 still supported both variants, the first writing was eventually removed from later releases. <!-- Instead, BaseX provides the arrow shortcut <code><-</code> to shorten full-text requests. As a consequence, the following two queries both yield <code>true</code>:
'''Query:'''
<pre class="brush:xquery">
"hello world" contains text "hello",
"hello world" <- "hello"
</pre> -->
==Query Evaluation==