Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for synonymtest (0.16 sec)

  1. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

        private File testDir;
    
        private File file1;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
            FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/dict/SynonymTests.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    @Tag("it")
    public class SynonymTests extends DictCrudTestBase {
    
        private static final String NAME_PREFIX = "synonymTest_";
        private static final String API_PATH = "/api/admin/dict/synonym";
        private static final String LIST_ENDPOINT_SUFFIX = "settings";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/SynonymService.java

                final int pageSize = synonymPager.getPageSize();
                final PagingList<SynonymItem> synonymList = file.selectList((synonymPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
    
                // update pager
                BeanUtil.copyBeanToBean(synonymList, synonymPager, option -> option.include(Constants.PAGER_CONVERSION_RULE));
                synonymList.setPageRangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top