- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for getIndexFieldUrl (0.09 sec)
-
QueryFieldConfig.java
fessConfig.getIndexFieldFilename(), // L92: fessConfig.getIndexFieldCreated(), // L93: fessConfig.getIndexFieldTitle(), // L94: fessConfig.getIndexFieldDigest(), // L95: fessConfig.getIndexFieldUrl(), // L96: fessConfig.getIndexFieldThumbnail(), // L97: fessConfig.getIndexFieldClickCount(), // L98: fessConfig.getIndexFieldFavoriteCount(), // L99: fessConfig.get...github.com/codelibs/fess/src/main/java/org/code...Mon Jul 22 04:30:56 UTC 2024 16K bytes -
IndexingHelper.java
(configIdValue == null) { L128: continue; L129: } L130: L131: final QueryBuilder queryBuilder = QueryBuilders.boolQuery() L132: .must(QueryBuilders.termQuery(fessConfig.getIndexFieldUrl(), inputDoc.get(fessConfig.getIndexFieldUrl()))) L133: .filter(QueryBuilders.termQuery(fessConfig.getIndexFieldConfigId(), configIdValue)); L134: L135: final List<Map<String, Object>> docs = getDocumentListByQuery(searchEngineClient,...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 16.8K bytes -
SearchApiManager.java
EST, "No searched urls."); L619: } L620: L621: searchHelper.getDocumentByDocId(docId, new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldLang() }, L622: OptionalThing.empty()).ifPresent(doc -> { L623: final String favoriteUrl = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class); L624: final String userCode = userInfoHelper.getUserCode(); L625: L626: ...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 50.3K bytes -
TermQueryCommand.java
) { L82: return convertSiteQuery(fessConfig, context, termQuery, boost, field, text); L83: } L84: if (INURL_FIELD.equals(field) L85: || StringUtil.equals(field, context.getDefaultField()) && fessConfig.getIndexFieldUrl().equals(context.getDefaultField())) { L86: return convertWildcardQuery(fessConfig, context, termQuery, boost, field, text); L87: } L88: if (!isSearchField(field)) { L89: final String origQuery = termQuery.toString();...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 10K bytes -
QueryContext.java
public QueryContext(final String queryString, final boolean isQuery) { L62: if (queryString != null) { L63: if (queryString.startsWith(ALLINURL_FIELD_PREFIX)) { L64: defaultField = ComponentUtil.getFessConfig().getIndexFieldUrl(); L65: this.queryString = queryString.substring(ALLINURL_FIELD_PREFIX.length()); L66: } else if (queryString.startsWith(ALLINTITLE_FIELD_PREFIX)) { L67: defaultField = ComponentUtil.getFessConfig().g...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 5.8K bytes -
FessTransformer.java
abbreviateSite(url); L104: } L105: L106: default void putResultDataBody(final Map<String, Object> dataMap, final String key, final Object value) { L107: final FessConfig fessConfig = ComponentUtil.getFessConfig(); L108: if (fessConfig.getIndexFieldUrl().equals(key) || !dataMap.containsKey(key) || !getFessConfig().isCrawlerDocumentAppendData()) { L109: dataMap.put(key, value); L110: } else { L111: final Object oldValue = dataMap.get(key); L112: final...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.5K bytes -
ViewHelper.java
(StringUtil.isBlank(title)) { L222: title = DocumentUtil.getValue(document, fessConfig.getIndexFieldFilename(), String.class); L223: if (StringUtil.isBlank(title)) { L224: title = DocumentUtil.getValue(document, fessConfig.getIndexFieldUrl(), String.class); L225: } L226: } L227: final int size = fessConfig.getResponseMaxTitleLengthAsInteger(); L228: if (size > -1) { L229: title = StringUtils.abbreviate(title, size); L230: } L231:...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 40.2K bytes -
AbstractFessFileTransformer.java
{ L313: parentUrl = pathMappingHelper.replaceUrl(sessionId, parentUrl); L314: putResultDataBody(dataMap, fessConfig.getIndexFieldUrl(), parentUrl); L315: putResultDataBody(dataMap, fessConfig.getIndexFieldParentId(), crawlingInfoHelper.generateId(dataMap)); L316: putResultDataBody(dataMap, fessConfig.getIndexFieldUrl(), url); // set again L317: } L318: // thumbnail L319: putResultDataBody(dataMap, fessConfig.getIndexFieldThumbnail(),...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 23.6K bytes -
ScoreBooster.java
Object url = params.get("url"); L57: if (url == null) { L58: return StringUtil.EMPTY_STRINGS; L59: } L60: final SearchResponse response = client.prepareSearch(index).setQuery(QueryBuilders.termQuery(fessConfig.getIndexFieldUrl(), url)) L61: .setFetchSource(false).setSize(fessConfig.getPageScoreBoosterMaxFetchSizeAsInteger()).execute().actionGet(requestTimeout); L62: return Arrays.stream(response.getHits().getHits()).map(SearchHit::getId).toArray(n...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 5K bytes -
FessXpathTransformer.java
{ L485: parentUrl = pathMappingHelper.replaceUrl(sessionId, parentUrl); L486: putResultDataBody(dataMap, fessConfig.getIndexFieldUrl(), parentUrl); L487: putResultDataBody(dataMap, fessConfig.getIndexFieldParentId(), crawlingInfoHelper.generateId(dataMap)); L488: putResultDataBody(dataMap, fessConfig.getIndexFieldUrl(), url); // set again L489: } L490: // thumbnail L491: final String thumbnailUrl = getThumbnailUrl(responseData, document);...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 13:01:38 UTC 2024 42.9K bytes