Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for KeyMatch (0.06 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/KeyMatch.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.exentity;
    
    import org.codelibs.fess.es.config.bsentity.BsKeyMatch;
    
    /**
     * @author FreeGen
     */
    public class KeyMatch extends BsKeyMatch {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/KeyMatchDbm.java

            setupEpg(_epgMap, et -> ((KeyMatch) et).getMaxSize(), (et, vl) -> ((KeyMatch) et).setMaxSize(DfTypeUtil.toInteger(vl)), "maxSize");
            setupEpg(_epgMap, et -> ((KeyMatch) et).getQuery(), (et, vl) -> ((KeyMatch) et).setQuery(DfTypeUtil.toString(vl)), "query");
            setupEpg(_epgMap, et -> ((KeyMatch) et).getTerm(), (et, vl) -> ((KeyMatch) et).setTerm(DfTypeUtil.toString(vl)), "term");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsbhv/BsKeyMatchBhv.java

            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends KeyMatch> typeOfSelectedEntity() {
            return KeyMatch.class;
        }
    
        @Override
        protected Class<KeyMatch> typeOfHandlingEntity() {
            return KeyMatch.class;
        }
    
        @Override
        protected Class<KeyMatchCB> typeOfHandlingConditionBean() {
            return KeyMatchCB.class;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/KeyMatchService.java

        }
    
        public OptionalEntity<KeyMatch> getKeyMatch(final String id) {
            return keyMatchBhv.selectByPK(id);
        }
    
        public void store(final KeyMatch keyMatch) {
    
            keyMatchBhv.insertOrUpdate(keyMatch, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final KeyMatch keyMatch) {
    
            keyMatchBhv.delete(keyMatch, op -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

            getAvailableKeyMatchList().stream().forEach(keyMatch -> {
                try {
                    final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
                    if (logger.isDebugEnabled()) {
                        logger.debug("Loading KeyMatch Query: {}, Size: {}", keyMatch.getQuery(), keyMatch.getMaxSize());
                    }
                    getDocumentList(keyMatch).stream().map(doc -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

            });
    
            return asJson(new ApiUpdateResponse().id(keyMatch.getId()).created(true).status(Status.OK).result());
        }
    
        // POST /api/admin/keymatch/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final KeyMatch keyMatch = getKeyMatch(body).map(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

        //                                                                        ============
    
        public static OptionalEntity<KeyMatch> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new KeyMatch()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="keyMatch"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/CreateBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.keymatch;
    
    import org.codelibs.fess.app.web.admin.keymatch.CreateForm;
    
    public class CreateBody extends CreateForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 785 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/EditBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.keymatch;
    
    import org.codelibs.fess.app.web.admin.keymatch.EditForm;
    
    public class EditBody extends EditForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 779 bytes
    - Viewed (0)
Back to top