<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">Hi Junjie<br><br>Cs::erase remains unimplemented because there's no use case for that, but it's going to come in a few months. Use the "Watch" button on https://redmine.named-data.net/issues/4318 to get notified, and be patient.<br><br>Since the above issue is still in design stage, it would be nice for you to describe your use case. Your answers will help the assignee to improve the design.<br>* Why do you want to erase specific Data?<br>* What's the calling process? NFD itself (which module?) or an application?<br>* Are you erasing one entry, or multiple entries under the same prefix?<br>* Does the calling process knows the exact Data name(s)?<br>You may answer these questions by REPLY-ALL to this email, or post them on Redmine.<br><br>Yours, Junxiao</div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:xujunjie1221@gmail.com">小杰许</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎1/‎28/‎2018 21:00</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:nfd-dev@lists.cs.ucla.edu">nfd-dev@lists.cs.ucla.edu</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">[Nfd-dev] How to evict a specific item from the content store(nfd:cs)</span><br><br></div><div dir="ltr"><pre style="color: rgb(0, 0, 0); white-space: pre-wrap;">Hello all,<br></pre><pre style="color: rgb(0, 0, 0); white-space: pre-wrap;">When I tried to use the erase( ) function to remove an item, I found
out that the method is not implemented.  I checked the code from the
documentation and found out that this is indeed the case. And I found that the eviction is happening in cache policy like cs-policy-lru.cpp when a new item is coming. 

So how am I supposed to evict a specific item from the Content Store? I mean evict a specific item by its name(prefix) in the cs.

Thanks,

JunjieXu</pre></div>
</body></html>