<div dir="ltr">Dear folks<div><br></div><div>I have difficulty understanding how repo-ng is expected to process ChildSelector in the delete command.</div><div><br></div><div>Repo protocol <<a href="http://redmine.named-data.net/projects/repo-ng/wiki/Repo_Protocol_Specification#Repo-Command-Selectors">http://redmine.named-data.net/projects/repo-ng/wiki/Repo_Protocol_Specification#Repo-Command-Selectors</a>> states:</div>

<div><ul><li></li><li>The concrete definitions of both standard NDN selectors and repo command selectors are the same.<br></li><li>the standard NDN selectors just matches one data packet that conforms to the selector conditions, but repo command selectors would matches any data packets.<br>

</li><li>Repo command supports parts of standard NDN interests including MinSuffixComponents, MaxSuffixComponents, PublisherPublicKeyLocator, Exclude, ChildSelector.</li><li>selectors are just supported in delete command.</li>

</ul></div><div>NDN-TLV spec <<a href="http://named-data.net/doc/ndn-tlv/interest.html#childselector">http://named-data.net/doc/ndn-tlv/interest.html#childselector</a>> states:</div><div><ul><li>Often a given Interest can match more than one Data within a given content store. The ChildSelector provides a way of expressing a preference for which of these should be returned.<br>

</li></ul></div><div>As I understand from these rules, an implementation is required to process Selectors in a delete command, which is used as a filter to determine whether a stored Data under the name prefix should be erased or not.<br>

</div><div>However, ChildSelector is different from other selectors in that it does not provide a filter, but expresses a preference about which one Data should be picked among multiple equally-admissible Data.</div><div>

<br></div><div>My question is: if ChildSelector is present in a delete command, should a repo implementation evaluate the preference rules and erase only one Data, or should this field be ignored?</div><div><br></div><div>

Yours, Junxiao</div></div>