Libraryless. Click here for Pure Java version (13393L/91K).
sclass SimpleScoredConceptSearch { Concepts cc; S query; new ScoredSearcher<Concept> searcher; // use this to filter concepts to be searched swappable bool includeConcept(Concept c) { true; } run { if (cc != null) for (Concept c : cc.allConcepts()) searcher.put(c, allToString(values(allNonConceptFieldValues(c)))); } L<Concept> get() { ret searcher!; } }
Began life as a copy of #1029865
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1029866 |
| Snippet name: | SimpleScoredConceptSearch |
| Eternal ID of this version: | #1029866/1 |
| Text MD5: | d6418a6481bf3652b8cdd73d0b0f5f74 |
| Transpilation MD5: | 904ece5ab309e878ee07102a1c309737 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-09-24 10:42:11 |
| Source code size: | 404 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 396 / 664 |
| Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |