Changes

Jump to navigation Jump to search
85 bytes added ,  16:23, 27 February 2020
no edit summary
is returned for the following two types of queries:
<pre classsyntaxhighlight lang="brush:xquery">
'私は本を書いた' contains text '書く' using stemming using language 'ja'
'私は本を書く' contains text '書いた' using stemming using language 'ja'
</presyntaxhighlight>
=Wildcards=
queries both return <code>true</code>:
<pre classsyntaxhighlight lang="brush:xquery">
'芥川龍之介' contains text '.之介' using wildcards using language 'ja'
'芥川竜之介' contains text '.之介' using wildcards using language 'ja'
</presyntaxhighlight>
However, there is a special case that requires attention. The following
query will yield <code>false</code>:
<pre classsyntaxhighlight lang="brush:xquery">
'芥川龍之介' contains text '芥川.之介' using wildcards using language 'ja'
</presyntaxhighlight>
This is because the next word boundary metacharacters
an additional whitespaces as word boundary:
<pre classsyntaxhighlight lang="brush:xquery">
'芥川龍之介' contains text '芥川 .之介' using wildcards using language 'ja'
</presyntaxhighlight>
As an alternative, you may modify the query as follows:
<pre classsyntaxhighlight lang="brush:xquery">
'芥川龍之介' contains text '芥川' ftand '.之介' using wildcards using language 'ja'
</presyntaxhighlight>
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu