Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for KeyMatch (0.07 sec)

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

     */
    package org.codelibs.fess.opensearch.config.exentity;
    
    import org.codelibs.fess.opensearch.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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

        }
    
        public void test_getBoostedDocumentList_noBoostList() {
            KeyMatch keyMatch = new KeyMatch();
            keyMatch.setId("nonexistent");
            keyMatch.setTerm("nonexistent");
            keyMatch.setVirtualHost("");
    
            try {
                List<Map<String, Object>> result = keyMatchHelper.getBoostedDocumentList(keyMatch);
                assertNotNull(result);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.7K 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);
        }
    
        /**
         * Store a key match.
         *
         * @param keyMatch The key match to store.
         */
        public void store(final KeyMatch keyMatch) {
    
            keyMatchBhv.insertOrUpdate(keyMatch, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

         * Retrieves a list of boosted documents for the specified KeyMatch.
         *
         * @param keyMatch The KeyMatch instance.
         * @return A list of boosted documents.
         */
        public List<Map<String, Object>> getBoostedDocumentList(final KeyMatch keyMatch) {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            String virtualHost = keyMatch.getVirtualHost();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

         * @param currentTime the current time
         * @return optional key match entity
         */
        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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

         */
        // GET /api/admin/keymatch/settings
        // PUT /api/admin/keymatch/settings
        @Execute
        public JsonResponse<ApiResult> settings(final SearchBody body) {
            validateApi(body, messages -> {});
            final KeyMatchPager pager = copyBeanToNewBean(body, KeyMatchPager.class);
            final List<KeyMatch> list = keyMatchService.getKeyMatchList(pager);
            return asJson(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessHtmlPath.java

        /** The path of the HTML: /admin/keymatch/admin_keymatch.jsp */
        HtmlNext path_AdminKeymatch_AdminKeymatchJsp = new HtmlNext("/admin/keymatch/admin_keymatch.jsp");
    
        /** The path of the HTML: /admin/keymatch/admin_keymatch_details.jsp */
        HtmlNext path_AdminKeymatch_AdminKeymatchDetailsJsp = new HtmlNext("/admin/keymatch/admin_keymatch_details.jsp");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  10. 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;
    
    /**
     * Request body for creating key match via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    public class CreateBody extends CreateForm {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1004 bytes
    - Viewed (0)
Back to top