Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for allRequired (0.04 sec)

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

     *
     */
    public class RegexRuleTest extends PlainTestCase {
    
        public void test_match_default() {
            final RegexRule regexRule = new RegexRule();
            regexRule.defaultRule = true;
            regexRule.allRequired = true;
            regexRule.addRule("url", Pattern.compile("http:.*"));
            regexRule.addRule("mimeType", Pattern.compile("text/html"));
    
            assertTrue(regexRule.match(getTestData1()));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

         */
        public boolean isAllRequired() {
            return allRequired;
        }
    
        /**
         * Sets whether all regular expressions must match for this rule to match.
         * @param allRequired true if all patterns must match, false if only one needs to match
         */
        public void setAllRequired(final boolean allRequired) {
            this.allRequired = allRequired;
        }
    
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

            low = mid;
          } else {
            return mid; // allRequired[mid] = centerFloor, so we can't get closer than that
          }
        }
    
        // Now pick the closest of the two candidates. Note that there is no rounding here.
        if (from + to - allRequired[low] - allRequired[high] > 0) {
          return high;
        } else {
          return low;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  4. src/main/resources/crawler/rule.xml

    				<property name="successfulHttpCodes">(int[])[200]</property>
    				<property name="notModifiedHttpCodes">(int[])[304]</property>
    			</component>
    		</property>
    		<property name="allRequired">true</property>
    		<postConstruct name="addRule">
    			<arg>"url"</arg>
    			<arg>"http[s]?:.*"</arg>
    		</postConstruct>
    		<postConstruct name="addRule">
    			<arg>"mimeType"</arg>
    			<!-- Supported MIME type -->
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 04 08:42:49 UTC 2020
    - 4.6K bytes
    - Viewed (0)
Back to top