Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for hasConditionQuery (0.1 sec)

  1. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            searchRequestParams = testParams;
        }
    
        // Test for hasConditionQuery method
        public void test_hasConditionQuery_withQuery() {
            // Test with query parameter
            testParams.conditions.put(SearchRequestParams.AS_Q, new String[] { "test query" });
            assertTrue(searchRequestParams.hasConditionQuery());
        }
    
        public void test_hasConditionQuery_withEmptyQuery() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

                }
    
                @Override
                public HighlightInfo getHighlightInfo() {
                    return new HighlightInfo();
                }
    
                @Override
                public boolean hasConditionQuery() {
                    return conditions != null && !conditions.isEmpty();
                }
    
            }).escape(escape).build();
        }
    
        // Additional test methods for improved coverage
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                buildInitParams();
                RenderDataUtil.register(data, "notification", fessConfig.getNotificationSearchTop());
            }));
            if (!form.hasConditionQuery()) {
                if (StringUtil.isNotBlank(form.q)) {
                    form.as.put("q", new String[] { form.q });
                } else {
                    // TODO set default?
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        }
    
        /**
         * Returns true if the request has a condition query, otherwise false.
         *
         * @return True if the request has a condition query, otherwise false.
         */
        public boolean hasConditionQuery() {
            final Map<String, String[]> conditions = getConditions();
            return !isEmptyArray(conditions.get(AS_Q))//
                    || !isEmptyArray(conditions.get(AS_EPQ))//
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
    
            @Override
            public Float getMinScore() {
                return parent.getMinScore();
            }
    
            @Override
            public boolean hasConditionQuery() {
                return parent.hasConditionQuery();
            }
    
            @Override
            public String[] getResponseFields() {
                return parent.getResponseFields();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

         *
         * @return the base query string
         */
        protected String buildBaseQuery() {
            final StringBuilder queryBuf = new StringBuilder(255);
            if (params.hasConditionQuery()) {
                appendConditions(queryBuf, params.getConditions());
            } else {
                final String query = params.getQuery();
                if (StringUtil.isNotBlank(query)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top