Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1012788 // ai_tripleIndexToInvalidatedWebs

JavaX fragment (include)

please include function ai_invalidatedWebs.

static void ai_tripleIndexToInvalidatedWebs() {
  new Matches m;
  for (TripleWeb w : ai_triples("$X", "is", "invalid"))
    if (swic_trim(w.a, "Web ", m) && isGlobalID($1))
      ai_invalidatedWebs_cache->put(asGlobalID($1), w.globalID());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012788
Snippet name: ai_tripleIndexToInvalidatedWebs
Eternal ID of this version: #1012788/3
Text MD5: 1a6f238a10f87109d2371568a4fb9647
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-13 05:21:36
Source code size: 294 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 379 / 420
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012789 - ai_deleteInvalidTriples
#1012790 - ai_invalidWebIDsFromDB