- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for JsonIndexExportFormatter (0.14 seconds)
-
src/main/java/org/codelibs/fess/job/JsonIndexExportFormatter.java
import java.util.Map; import java.util.Set; /** * Formatter that outputs index documents as JSON files. */ public class JsonIndexExportFormatter implements IndexExportFormatter { /** * Creates a new JsonIndexExportFormatter instance. */ public JsonIndexExportFormatter() { // default constructor } @Override public String getFileExtension() { return ".json"; }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/test/java/org/codelibs/fess/job/IndexExportJobTest.java
source.put("field_with_null", null); final String json = new JsonIndexExportFormatter().format(source, Collections.emptySet()); assertFalse(json.contains("field_with_null")); } @Test public void test_jsonFormatter_emptyMap() { final String json = new JsonIndexExportFormatter().format(Collections.emptyMap(), Collections.emptySet()); assertTrue(json.contains("{"));
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) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
} switch (format.trim().toLowerCase()) { case "html": return new HtmlIndexExportFormatter(); case "json": return new JsonIndexExportFormatter(); default: throw new IllegalArgumentException("Unsupported export format: " + format); } } /**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)