2013-11-04 48 views
0

我正尝试在特定字段中使用VersionOne rest-1.v1/Data端点到find所有具有字符串9.00.00.01的故事。这里的查询(增加了可读性换行):为什么使用find查询VersionOne API不会返回预期结果?

<Server Base URI>/rest-1.v1/Data/Story 
    ?sel=Number,Custom_FixedinVersions 
    &find=9.00.00.01 
    &findin=Custom_FixedinVersions 

这是返回结果不显示在查询字段中的9.00.00.01字符串。例如:

<Asset href="/rest-1.v1/Data/Story/60560" id="Story:60560"> 
    <Attribute name="Number">B-06248</Attribute> 
    <Attribute name="Custom_FixedinVersions">8.10.00.00-01</Attribute> 
</Asset> 

我的查询出了什么问题?

回答

0

rest-1.v1 API的find功能使用与Advanced Search功能相同的底层功能。因此,它有same limitations作为VersionOne应用程序。也就是说,标点符号被视为单个字符的术语,并从搜索查询中排除。因此,上述术语9.00.00.01被视为9 00 00 01,其中搜索引擎匹配任何空格分隔的值。因此,8.10.00.00-010001的条款都匹配。