This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package commons.keycloakauth.security; | |
| import java.text.ParseException; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.concurrent.ConcurrentHashMap; | |
| import com.nimbusds.jwt.JWT; | |
| import com.nimbusds.jwt.JWTParser; | |
| import admin.auth.AdminAuthService; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var SEARCH_URL_PREFIX = "http://localhost:8983/solr/rms_core_dev/autophrase?q=" | |
| var URL = SEARCH_URL_PREFIX + searchTerm + | |
| "&q.op=AND | |
| &wt=json | |
| &defType=dismax | |
| &qf=entity_name_exact^10000.0 content_exact^5000.0 entity_name^1000.0 content^500 entity_author | |
| &pf=entity_name_exact entity_name content content_exact | |
| &bq=(entity_type:company^10000 OR entity_type:insight^7500) | |
| &rows=100 | |
| &fl=*,score |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| document with an entity_name of 'CEL-2000' |