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

8
LINES

< > BotCompany Repo | #1022040 // gazelle_scoredSearchForFirstIn

JavaX fragment (include)

static L<virtual Rule> gazelle_scoredSearchForFirstIn(S query, O... _) {
  ScoredSearcher searcher = new(query, _);

  for (O rule : dm_allRulesFromRulesModule_unimported())
    searcher.put(rule, gazelle_firstInOfRuleText(getString text(rule)));

  ret searcher!;
}

Author comment

Began life as a copy of #1021913

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1022040
Snippet name: gazelle_scoredSearchForFirstIn
Eternal ID of this version: #1022040/3
Text MD5: 1efdcf848114f1419597c1887e40f6aa
Author: stefan
Category: javax / discord
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-05 23:02:59
Source code size: 273 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 301 / 338
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1022041 - gazelle_mostSimilarRuleIn
#1022796 - scoredSearch_localMechListNames (remote mirrors actually)