- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getIndexFileName (0.39 seconds)
-
src/main/java/org/codelibs/fess/job/IndexExportFormatter.java
*/ String getFileExtension(); /** * Returns the default index file name for this format (e.g. "index.html", "index.json"). * * @return the index file name */ String getIndexFileName(); /** * Formats a document source map into the target format string. * * @param source the document source map * @param excludeFields the set of field names to exclude from outputCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Feb 07 10:31:36 GMT 2026 - 1.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/HtmlIndexExportFormatter.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Feb 07 10:31:36 GMT 2026 - 3.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/JsonIndexExportFormatter.java
public JsonIndexExportFormatter() { // default constructor } @Override public String getFileExtension() { return ".json"; } @Override public String getIndexFileName() { return "index.json"; } @Override public String format(final Map<String, Object> source, final Set<String> excludeFields) { final StringBuilder json = new StringBuilder();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Feb 07 10:31:36 GMT 2026 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
host = "_local"; } if (path == null || path.isEmpty()) { path = "/" + formatter.getIndexFileName(); } else if (path.endsWith("/")) { path = path + formatter.getIndexFileName(); } else if (!path.contains(".") || path.lastIndexOf('.') < path.lastIndexOf('/')) { path = path + formatter.getFileExtension();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
final JsonIndexExportFormatter formatter = new JsonIndexExportFormatter(); assertEquals(".json", formatter.getFileExtension()); assertEquals("index.json", formatter.getIndexFileName()); } @Test public void test_jsonFormatter_emptyCollection() { final Map<String, Object> source = new LinkedHashMap<>(); source.put("title", "Test");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0)