<QueryPlan compiled="true" updating="false">
<Extension type="element()*">
<DBPragma value="">
<QNm type="xs:QName">db:enforceindex</QNm>
</DBPragma>
<GFLWOR type="element()*">
<For type="xs:string" size="1">
<Var name="$db" id="0" type="xs:string"/>
<IterFilter type="xs:string*">
<DbList name="list([database[,path]])" type="xs:string*"/>
<FnStartsWith name="starts-with(string,sub[,collation])" type="xs:boolean" size="1">
<ContextValue type="xs:string" size="1"/>
<Str type="xs:string">000999~</Str>
</FnStartsWith>
</IterFilter>
</For>
<CachedPath type="element()*">
<FTIndexAccess type="text()*">
<IndexDynDb>
<DbOpen name="open(database[,path])" type="document-node()*">
<VarRef type="xs:string" size="1">
<Var name="$db" id="0" type="xs:string"/>
</VarRef>
</DbOpen>
</IndexDynDb>
<FTWords type="xs:boolean" size="1">
<Str type="xs:string">автомобиль</Str>
</FTWords>
</FTIndexAccess>
<IterStep axis="parent" test="*" type="element()*"/>
</CachedPath>
</GFLWOR>
</Extension>
</QueryPlan>
And query plan (2138 rows):
<QueryPlan compiled="true" updating="false">
<GFLWOR type="element()*">
<Let type="xs:string*">
<Var name="$dbs" id="0" type="xs:string*"/>
<IterFilter type="xs:string*">
<DbList name="list([database[,path]])" type="xs:string*"/>
<FnStartsWith name="starts-with(string,sub[,collation])" type="xs:boolean" size="1">
<ContextValue type="xs:string" size="1"/>
<Str type="xs:string">000999~</Str>
</FnStartsWith>
</IterFilter>
</Let>
<For type="xs:string" size="1">
<Var name="$db" id="2" type="xs:string"/>
<VarRef type="xs:string*">
<Var name="$dbs" id="0" type="xs:string*"/>
</VarRef>
</For>
<Let type="element()*">
<Var name="$ft" id="3" type="element()*"/>
<CachedPath type="element()*">
<FtSearch name="search(database,terms[,options])" type="text()*">
<VarRef type="xs:string" size="1">
<Var name="$db" id="2" type="xs:string"/>
</VarRef>
<Str type="xs:string">автомобиль</Str>
</FtSearch>
<IterStep axis="parent" test="*" type="element()*"/>
</CachedPath>
</Let>
<VarRef type="element()*">
<Var name="$ft" id="3" type="element()*"/>
</VarRef>
</GFLWOR>
</QueryPlan>