Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for hostnames (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

            final String hostname = ComponentUtil.getSystemHelper().getHostname();
            final String targetName = ComponentUtil.getFessConfig().getSchedulerTargetName();
    
            final String body = toJson(Map.of( //
                    "type", TYPE_HEARTBEAT, //
                    "instanceId", instanceId, //
                    "hostname", hostname, //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

        }
    
        /**
         * Gets host information including hostname and IP address.
         *
         * @return formatted string containing hostname and IP address
         */
        protected String getHostInfo() {
            final StringBuilder buf = new StringBuilder();
            try {
                final InetAddress ia = InetAddress.getLocalHost();
                final String hostname = ia.getHostName();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Gets the hostname of the local machine.
         *
         * @return The hostname.
         */
        public String getHostname() {
            final Map<String, String> env = getEnvMap();
            if (env.containsKey("COMPUTERNAME")) {
                return env.get("COMPUTERNAME");
            }
            if (env.containsKey("HOSTNAME")) {
                return env.get("HOSTNAME");
            }
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  4. src/main/resources/fess_indices/fess_config.coordinator/coordinator.json

    {
        "properties": {
          "type": {
            "type": "keyword"
          },
          "instanceId": {
            "type": "keyword"
          },
          "hostname": {
            "type": "keyword"
          },
          "name": {
            "type": "keyword"
          },
          "status": {
            "type": "keyword"
          },
          "targetInstanceId": {
            "type": "keyword"
          },
          "data": {
            "type": "text",
            "index": false
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 541 bytes
    - Click Count (0)
  5. src/main/resources/fess_indices/fess_log.notification_queue/notification_queue.json

    {
      "properties": {
        "hostname": {
          "type": "keyword"
        },
        "level": {
          "type": "keyword"
        },
        "loggerName": {
          "type": "keyword"
        },
        "message": {
          "type": "text",
          "index": false
        },
        "throwable": {
          "type": "text",
          "index": false
        },
        "timestamp": {
          "type": "date",
          "format": "epoch_millis"
        }
      }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 386 bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

            }
    
            final int searchSize = fessConfig.getLogNotificationSearchSizeAsInteger();
            final String hostname = ComponentUtil.getSystemHelper().getHostname();
            final SearchResponse searchResponse = client.prepareSearch(indexName)
                    .setQuery(QueryBuilders.termQuery("hostname", hostname))
                    .setSize(searchSize)
                    .addSort("timestamp", SortOrder.ASC)
                    .execute()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            } finally {
                envMap.remove("COMPUTERNAME");
            }
            try {
                envMap.put("HOSTNAME", "yyy");
                assertEquals("yyy", systemHelper.getHostname());
            } finally {
                envMap.remove("HOSTNAME");
            }
        }
    
        @Test
        public void test_getInstanceId_withoutTargetName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            final InstanceInfo info = new InstanceInfo();
            info.instanceId = "node1@host1";
            info.hostname = "host1";
            info.name = "node1";
            info.lastSeen = 1000L;
    
            assertEquals("node1@host1", info.instanceId);
            assertEquals("host1", info.hostname);
            assertEquals("node1", info.name);
            assertEquals(1000L, info.lastSeen);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String value = fessConfig.getPurgeByBots();
            String[] botNames;
            if (StringUtil.isBlank(value)) {
                botNames = StringUtil.EMPTY_STRINGS;
            } else {
                botNames = value.split(",");
            }
    
            final int batchSize = fessConfig.getSearchlogProcessBatchSizeAsInteger();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
    
                String hostname = fessConfig.getMailHostname();
                if (StringUtil.isBlank(hostname)) {
                    hostname = ComponentUtil.getSystemHelper().getHostname();
                }
                dataMap.put("hostname", hostname);
    
                logger.debug("\ninfoMap: {}\ndataMap: {}", infoMap, dataMap);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
Back to Top