- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 656 for conditionFn (0.08 seconds)
-
src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java
Assertions.assertTrue(condition, message); } // assertTrue - JUnit 5 style (message last) protected void assertTrue(boolean condition, String message) { Assertions.assertTrue(condition, message); } // assertFalse - JUnit 4 style (message first) protected void assertFalse(String message, boolean condition) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
@Test public void test_addCondition() { // Test adding conditions generator = new TestThumbnailGenerator(); // Test adding single condition generator.addCondition("field1", "value1"); // Test adding multiple conditions for same field generator.addCondition("field1", "value2"); // Test adding conditions for different fields generator.addCondition("field2", "pattern.*");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
*/ public BaseThumbnailGenerator() { // Default constructor } /** * Adds a condition for thumbnail generation. * @param key The condition key. * @param regex The regex pattern for the condition. */ public void addCondition(final String key, final String regex) { final String value = conditionMap.get(key);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUtilTest.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.ldap;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
}); } /** * Creates a search condition for the OpenSearch request. * * @param query the search query string * @param params the search request parameters * @param userBean the optional user bean for access control * @return the search condition for the request */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 09:24:04 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
elevateWordBhv.delete(elevateWord, op -> { op.setRefreshPolicy(Constants.TRUE); }); } /** * Sets up the condition builder for querying elevate words based on pager criteria. * * @param cb the condition builder to configure * @param elevateWordPager the pager containing search criteria */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 18.3K bytes - Click Count (0) -
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/main/java/org/codelibs/fess/app/service/UserService.java
throw e; } } /** * Sets up the search conditions for user list queries based on pager criteria. * Configures the condition bean with search filters and ordering. * * @param cb the condition bean for the user query * @param userPager the pager containing search criteria */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:22:27 GMT 2026 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java
op.setRefreshPolicy(Constants.TRUE); }); ComponentUtil.getJobHelper().remove(scheduledJob); } /** * Sets up the list condition for the scheduled job query. * @param cb The scheduled job condition bean. * @param scheduledJobPager The scheduled job pager. */ protected void setupListCondition(final ScheduledJobCB cb, final SchedulerPager scheduledJobPager) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 6.2K 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)