Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getIdOrCode (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            Map<String, Object> doc = new HashMap<>();
            assertEquals("aaa", languageHelper.createScript(doc, "aaa").getIdOrCode());
    
            doc.put("lang", "ja");
            assertEquals("aaa;ctx._source.title_ja=ctx._source.title;ctx._source.content_ja=ctx._source.content",
                    languageHelper.createScript(doc, "aaa").getIdOrCode());
        }
    
        public void test_getReindexScriptSource() {
            assertEquals(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top