Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addCondition (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            rule.setRuleId("multiRule");
            rule.setResponseProcessor(new TestResponseProcessor("multiProcessor"));
            rule.addCondition("url", "https://.*\\.example\\.com/.*");
            rule.addCondition("mimeType", "text/html");
            rule.addCondition("statusCode", "200");
    
            // All conditions match
            ResponseData responseData1 = new ResponseData();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. clause/where.go

    func (where Where) Name() string {
    	return "WHERE"
    }
    
    // Build build where clause
    func (where Where) Build(builder Builder) {
    	if len(where.Exprs) == 1 {
    		if andCondition, ok := where.Exprs[0].(AndConditions); ok {
    			where.Exprs = andCondition.Exprs
    		}
    	}
    
    	// Switch position if the first query expression is a single Or condition
    	for idx, expr := range where.Exprs {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top