Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getLanguageHelper (0.15 sec)

  1. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final LabelTypeHelper labelTypeHelper = ComponentUtil.getLabelTypeHelper();
            final LanguageHelper languageHelper = ComponentUtil.getLanguageHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            try {
                final long count = searchEngineClient.updateByQuery(fessConfig.getIndexDocumentUpdateIndex(), option -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

            final Date now = systemHelper.getCurrentTime();
            final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper();
            final LanguageHelper languageHelper = ComponentUtil.getLanguageHelper();
            final List<Map<String, Object>> docList = body.documents.stream().map(doc -> {
                if (!doc.containsKey(indexFieldContentLength)) {
                    long contentLength = 0;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

            }
    
            if (!dataMap.containsKey(fessConfig.getIndexFieldDocId())) {
                dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap));
            }
    
            ComponentUtil.getLanguageHelper().updateDocument(dataMap);
    
            synchronized (docList) {
                docList.add(ingest(paramMap, dataMap));
                final long contentSize = indexingHelper.calculateDocumentSize(dataMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                                            final Integer count = clickCountMap.get(docId);
                                            final Script script = ComponentUtil.getLanguageHelper().createScript(doc,
                                                    "ctx._source." + fessConfig.getIndexFieldClickCount() + "+=" + count.toString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return getComponent(QUERY_STRING_BUILDER);
        }
    
        public static CurlHelper getCurlHelper() {
            return getComponent(CURL_HELPER);
        }
    
        public static LanguageHelper getLanguageHelper() {
            return getComponent(LANGUAGE_HELPER);
        }
    
        public static PluginHelper getPluginHelper() {
            return getComponent(PLUGIN_HELPER);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            }
    
            if (!map.containsKey(fessConfig.getIndexFieldDocId())) {
                map.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(map));
            }
    
            ComponentUtil.getLanguageHelper().updateDocument(map);
        }
    
        protected void addBoostValue(final Map<String, Object> map, final float documentBoost) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                            searchHelper.update(id, builder -> {
                                final Script script = ComponentUtil.getLanguageHelper().createScript(doc,
                                        "ctx._source." + fessConfig.getIndexFieldFavoriteCount() + "+=1");
                                builder.setScript(script);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    .replace("__SIZE__", fessConfig.getIndexReindexSize())//
                    .replace("__DEST_INDEX__", toIndex)//
                    .replace("__SCRIPT_SOURCE__", ComponentUtil.getLanguageHelper().getReindexScriptSource());
            return reindex(fromIndex, toIndex, source, waitForCompletion);
        }
    
        public boolean reindex(final String fromIndex, final String toIndex, final boolean waitForCompletion) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top