pattern matching - Indexing Service Query Language returning more items than expected -
we're using indexing service query language (a.k.a. dialect 2) , following query,
@taxcategory "\areas\technology\" , @xmlconfigid = 14
it unexpectedly matches following 2 items instead of first:
technology technology, media & entertainment
we expected ending slash constrain search item; appears grab having given text @ beginning of string.
how write queries target first , second items independently?
update: content indexed indexing service this:
<ekttaxcategory>#eksep# \areas\technology #eksep#</ekttaxcategory>
and
<ekttaxcategory>#eksep# \areas\technology, media & entertainment#eksep#</ekttaxcategory>
respectively.
because substring #eksep#
appears @ end of we're seeking, seen example of indexed items in question, ended solving issue using query:
@taxcategory "\areas\technology#eksep#" , @xmlconfigid = 14
we considered using unix style pattern matching in query , period .
string terminator, never needed try after above query worked.
if else solves similar problem using different way or pattern matching, please post answer sample query. thanks.
Comments
Post a Comment