- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 242 for conditionFn (0.05 seconds)
-
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) -
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) -
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.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.util.HashMap;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/webapp/WebXmlTest.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.webapp; import java.io.InputStream;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 09:08:35 GMT 2026 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/ChatIntent.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.llm; /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 01 08:11:18 GMT 2026 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/ActionForm.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.app.web.admin.maintenance;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 2K bytes - Click Count (0)