Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for StemmerOverrideItem (0.08 sec)

  1. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

                return false;
            }
            final StemmerOverrideItem other = (StemmerOverrideItem) obj;
            if (!Objects.equals(input, other.input) || !Objects.equals(output, other.output)) {
                return false;
            }
            return true;
        }
    
        @Override
        public String toString() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

        @Resource
        protected FessConfig fessConfig;
    
        public List<StemmerOverrideItem> getStemmerOverrideList(final String dictId, final StemmerOverridePager stemmerOvberridePager) {
            return getStemmerOverrideFile(dictId).map(file -> {
                final int pageSize = stemmerOvberridePager.getPageSize();
                final PagingList<StemmerOverrideItem> stemmerOvberrideList =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

        }
    
        @Override
        public synchronized OptionalEntity<StemmerOverrideItem> get(final long id) {
            if (stemmerOverrideItemList == null) {
                reload(null);
            }
    
            for (final StemmerOverrideItem stemmerOverrideItem : stemmerOverrideItemList) {
                if (id == stemmerOverrideItem.getId()) {
                    return OptionalEntity.of(stemmerOverrideItem);
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFileTest.java

            super.setUp();
            stemmerOverrideFile = new StemmerOverrideFile("1", "dummy", new Date());
            List<StemmerOverrideItem> itemList = new ArrayList<>();
            itemList.add(new StemmerOverrideItem(1, "aaa", "a"));
            itemList.add(new StemmerOverrideItem(2, "bbb", "b"));
            itemList.add(new StemmerOverrideItem(3, "ccc", "c"));
            stemmerOverrideFile.stemmerOverrideItemList = itemList;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java

            assertFalse(stemmerOverrideItem.isDeleted());
    
            stemmerOverrideItem.setNewInput("bbb");
            stemmerOverrideItem.setNewOutput("b");
            assertTrue(stemmerOverrideItem.isUpdated());
            assertFalse(stemmerOverrideItem.isDeleted());
    
            stemmerOverrideItem.setNewInput("");
            stemmerOverrideItem.setNewOutput("");
            assertTrue(stemmerOverrideItem.isUpdated());
            assertTrue(stemmerOverrideItem.isDeleted());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

    import org.codelibs.fess.app.web.api.ApiResult;
    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.dict.stemmeroverride.StemmerOverrideFile;
    import org.codelibs.fess.dict.stemmeroverride.StemmerOverrideItem;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    import org.lastaflute.web.response.StreamResponse;
    
    import jakarta.annotation.Resource;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

        //                                                                        ============
    
        private static OptionalEntity<StemmerOverrideItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final StemmerOverrideItem entity = new StemmerOverrideItem(0, StringUtil.EMPTY, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top