- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 146 for parare (0.06 sec)
-
AbstractDataStoreTest.java
L85: final Map<String, Object> paramMap = new HashMap<>(); L86: paramMap.put("param1", "PARAM1"); L87: paramMap.put("param2", "PARAM2+"); L88: paramMap.put("param3", "PARAM3*"); L89: L90: value = "\"abc\""; L91: assertEquals("abc", dataStore.convertValue(Constants.DEFAULT_SCRIPT, value, paramMap)); L92: L93: value = "param1"; L94: assertEquals("PARAM1", dataStore.convertValue(Constants.DEFAULT_SCRIPT, value, paramMap)); L95: L96: value...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.1K bytes -
QueryParser.java
if (req.getAttribute(Constants.DEFAULT_QUERY_OPERATOR) instanceof final String op) { L64: parser.setDefaultOperator(Operator.valueOf(op)); L65: } else { L66: parser.setDefaultOperator(defaultOperator); L67: } L68: }).orElse(() -> { L69: parser.setDefaultOperator(defaultOperator); L70: }); L71: return parser; L72: } L73: L74: public void setDefaultField(final String defaultField) { L75: this.defaultField...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 5.6K bytes -
QueryHelper.java
ScoreFunctionBuilder<?> scoreFunction) { L297: boostFunctionList.add(new FilterFunctionBuilder(filter, scoreFunction)); L298: } L299: L300: public RescorerBuilder<?>[] getRescorers(final Map<String, Object> params) { L301: return queryRescorerList.stream().map(r -> r.evaluate(params)).filter(b -> b != null).toArray(n -> new RescorerBuilder<?>[n]); L302: } L303: L304: public void addQueryRescorer(final QueryRescorer rescorer) { L305: queryRescorerList.add(rescorer); L306: }...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 11.9K bytes -
FessXpathTransformer.java
(responseData.getCharSet() != null) { L149: is.setEncoding(responseData.getCharSet()); L150: } L151: parser.parse(is); L152: } catch (final Exception e) { L153: throw new CrawlingAccessException("Could not parse " + responseData.getUrl(), e); L154: } L155: L156: final Document document = parser.getDocument(); L157: L158: processMetaRobots(responseData, resultData, document); L159: processXRobotsTag(responseData, resultData);...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 13:01:38 UTC 2024 42.9K bytes -
FileConfig.java
ftpAuthList.add(ftpAuth); L196: } L197: } L198: paramMap.put(Param.Client.SMB_AUTHENTICATIONS, smbAuthList.toArray(new SmbAuthentication[smbAuthList.size()])); L199: paramMap.put(Param.Client.SMB1_AUTHENTICATIONS, L200: smb1AuthList.toArray(new org.codelibs.fess.crawler.client.smb1.SmbAuthentication[smb1AuthList.size()])); L201: paramMap.put(Param.Client.FTP_AUTHENTICATIONS, ftpAuthList.toArray(new FtpAuthentication[ftpAuthList.size()]));...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.8K bytes -
StoredLtrQueryBuilder.java
FEATURESET_NAME); L48: PARSER.declareString(StoredLtrQueryBuilder::storeName, STORE_NAME); L49: PARSER.declareField(StoredLtrQueryBuilder::params, XContentParser::map, PARAMS, ObjectParser.ValueType.OBJECT); L50: PARSER.declareStringArray(StoredLtrQueryBuilder::activeFeatures, ACTIVE_FEATURES); L51: PARSER.declareFloat(QueryBuilder::boost, AbstractQueryBuilder.BOOST_FIELD); L52: PARSER.declareString(QueryBuilder::queryName, AbstractQueryBuilder.NAME_FIELD); L53: } L54:...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 5.8K bytes -
SearchLogService.java
String> params = new LinkedHashMap<>(); L514: params.put("ID", e.getId()); L515: params.put("Query ID", e.getQueryId()); L516: params.put("Doc ID", e.getDocId()); L517: params.put("User Info ID", e.getUserInfoId()); L518: params.put("URL", e.getUrl()); L519: params.put("Created Time", FessFunctions.formatDate(e.getCreatedAt())); L520: params.put("Requested Time", FessFunctions.formatDate(e.getRequestedAt()));...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 28.4K bytes -
AbstractFessFileTransformer.java
final CrawlingConfig crawlingConfig) { L373: final Map<String, String> params = new HashMap<>(crawlingConfig.getConfigParameterMap(ConfigName.CONFIG)); L374: params.put(ExtractData.RESOURCE_NAME_KEY, getResourceName(responseData)); L375: params.put(ExtractData.CONTENT_TYPE, responseData.getMimeType()); L376: params.put(ExtractData.CONTENT_ENCODING, responseData.getCharSet()); L377: params.put(ExtractData.URL, responseData.getUrl()); L378: final Map<String,...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 23.6K bytes -
SearchApiManager.java
SS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_JSON); L306: try { L307: final SearchRenderData data = new SearchRenderData(); L308: final JsonRequestParams params = new JsonRequestParams(request, fessConfig); L309: query = params.getQuery(); L310: searchHelper.search(params, data, OptionalThing.empty()); L311: final String execTime = data.getExecTime(); L312: final String queryTime = Long.toString(data.getQueryTime()); L313: ...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 50.3K bytes -
GsaConfigParserTest.java
L39: public void test_parse() throws IOException { L40: GsaConfigParser parser = new GsaConfigParser(); L41: try (InputStream is = ResourceUtil.getResourceAsStream("data/gsaconfig.xml")) { L42: parser.parse(new InputSource(is)); L43: } L44: parser.getWebConfig().ifPresent(c -> { L45: logger.debug(c.toString()); L46: }).orElse(() -> fail()); L47: parser.getFileConfig().ifPresent(c -> { L48: logger.debug(c.toString()); L49:...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.2K bytes