Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 282 for conditionFn (0.06 seconds)

  1. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                public OptionalEntity<Map<String, Object>> getDocument(final String index,
                        final SearchCondition<SearchRequestBuilder> condition) {
                    final SearchRequestBuilder builder = new SearchRequestBuilder(this, SearchAction.INSTANCE);
                    condition.build(builder);
                    resultMap.put("index", index);
                    resultMap.put("query", builder.toString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

        @Test
        public void test_hasConditionQuery_withMultipleConditions() {
            // Test with multiple conditions
            testParams.conditions.put(SearchRequestParams.AS_Q, new String[] { "search term" });
            testParams.conditions.put(SearchRequestParams.AS_FILETYPE, new String[] { "doc" });
            testParams.conditions.put(SearchRequestParams.AS_NQ, new String[] { "exclude" });
            assertTrue(searchRequestParams.hasConditionQuery());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.job;
    
    import java.io.IOException;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

        }
    
        @Test
        public void test_XContentBuilderCallback_withComplexLogic() {
            XContentBuilderCallback callback = (builder, params) -> {
                builder.startObject();
    
                // Add conditional logic
                if (params != null) {
                    builder.field("hasParams", true);
                } else {
                    builder.field("hasParams", false);
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            conditions.put("nq", new String[] { "exclude" });
            conditions.put("filetype", new String[] { "pdf" });
            conditions.put("sitesearch", new String[] { "example.com" });
    
            final String result = getAsQuery(conditions);
            assertTrue(result.contains("search term"));
            assertTrue(result.contains("\"exact phrase\""));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/common/CommonExtensions.kt

        }
    }
    
    fun BuildStep.onlyRunOnGitHubMergeQueueBranch() {
        conditions {
            matches("teamcity.build.branch", "gh-readonly-queue/.*")
        }
    }
    
    fun BuildStep.skipConditionally(buildType: BuildType? = null) {
        // we need to run CompileALl unconditionally because of artifact dependency
        if (buildType !is CompileAll) {
            conditions {
                doesNotEqual("skip.build", "true")
            }
        }
    }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         *
         * @param index     the index name
         * @param condition the search condition
         * @return an optional containing the document if found
         */
        public OptionalEntity<Map<String, Object>> getDocument(final String index, final SearchCondition<SearchRequestBuilder> condition) {
            return getDocument(index, condition, (response, hit) -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  8. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentExtension.kt

     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 25 08:51:12 GMT 2026
    - 978 bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/PreparePatchReleaseTest.groovy

     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  10. build-logic-settings/build-environment/src/main/kotlin/gradlebuild.build-environment.settings.gradle.kts

     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.BuildEnvironmentExtension
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 25 08:51:12 GMT 2026
    - 1.8K bytes
    - Click Count (0)
Back to Top