我正在使用Domino Data服务根据特定搜索条件访问文档。我的文档之一是
{ " @ HREF":" /rrdb.nsf/api/data/documents/unid/2FC3551DC5266A5088257E35001D5D2C" ;, " @ UNID":" 2FC3551DC5266A5088257E35001D5D2C&#34 ;, " @ noteid":" 922&#34 ;, " @创建":" 2015-04-28T05:20:43Z&#34 ;, " @改性":" 2015-04-28T05:20:47Z&#34 ;, " @作者&#34 ;: [" CN =域/ O =试验""" ] " @形式":"预定&#34 ;, " ApptUNID":" B0E582BBA2A39B5988257E35001D5D29&#34 ;, "从":" CN = RAM / O =试验&#34 ;, " AltFrom":" CN = RAM / O =试验&#34 ;, "椅":" CN = RAM / O =试验&#34 ;, " AltChair":" CN = RAM / O =试验&#34 ;, "主":" CN = RAM / O =思科&#34 ;, " SequenceNum":1, " ORGState":" 5&#34 ;, "的ResourceType":" 1&#34 ;, "资源名称":"塞德娜/ B17&#34 ;, "客房":"塞德娜/ B17 @试验&#34 ;, "能力":1, " _ViewIcon":133, " AppointmentType":" 3&#34 ;, " StartTimeZone":" Z = -3005 $ DO = 0 $ ZN =印度&#34 ;, " EndTimeZone":" Z = -3005 $ DO = 0 $ ZN =印度&#34 ;, "主题":"与sendna会议室"会面2小时, "的SendTo":" CN =塞德娜/ O = B17&#34 ;, " PostedDate":" 2015-04-28T05:20:43Z&#34 ;, "加密":" 0&#34 ;, #&34;关键字":"&#34 ;, " RouteServers":" CN = B16-PF-QA-055 / O =试验&#34 ;, " RouteTimes&#34 ;: [" 2015-04-28T05:20:43Z"" 2015-04-28T05:20:44Z" ] " DeliveredDate":" 2015-04-28T05:20:44Z&#34 ;, "起始日期":" 2015-04-28T05:15:00Z&#34 ;, "开始时间":" 2015-04-28T05:15:00Z&#34 ;, "的startDateTime":" 2015-04-28T05:15:00Z&#34 ;, "结束日期":" 2015-04-28T07:15:00Z&#34 ;, "结束时间":" 2015-04-28T07:15:00Z&#34 ;, " EndDateTime":" 2015-04-28T07:15:00Z&#34 ;, " UpdateSeq":1, "作者":" CN = RAM / O =试验&#34 ;, " ResourceOwner":"&#34 ;, " ReservedFor":" CN = RAM / O =思科&#34 ;, " ReservedBy":" CN = RAM / O =思科&#34 ;, " RQStatus":" A&#34 ;, "目的":"与sendna会议室" 2小时会面, " NoticeType":" A&#34 ;, "步骤":3, "网站":" B17&#34 ;, " ReserveDate":" 2015-04-28T05:15:00Z" }
我正在使用http:// {host} /rrdb.nsf/api/data/collections/name/$Calendar?search=( [SendTo] CONTAINS" CN = Sedna")来获取此信息文件,但它没有归还我的记录。但如果我使用CONTAINS" Sedna"那就行了。
答案 0 :(得分:3)
[编辑] sendTo的内部表示似乎是[ABBREVIATE]而不是[CANONICALIZE]。因此,寻找 CN = ...不会返回任何结果,因为CN = O =不是数据的一部分。
将搜索替换为:
[SendTo]="Sedna/B17"
或任选" Sedna /"如果您只想测试确切名称是Sedna。