/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | ComplexExplanation.java | 21 * can distinguish a match independent of a positive value. */ 23 private Boolean match; field in class:ComplexExplanation 29 public ComplexExplanation(boolean match, float value, String description) { argument 33 this.match = Boolean.valueOf(match); 37 * The match status of this explanation node. 38 * @return May be null if match status is unknown 40 public Boolean getMatch() { return match; } 42 * Sets the match status assigned to this explanation node. 43 * @param match Ma 45 setMatch(Boolean match) argument [all...] |
H A D | FilteredDocIdSet.java | 32 * bitset for the filter. Instead, the {@link #match} 35 * the logic behind {@link #match} is relatively costly, 63 protected abstract boolean match(int docid) throws IOException; method in class:FilteredDocIdSet 78 protected boolean match(int docid) throws IOException { 79 return FilteredDocIdSet.this.match(docid);
|
H A D | FilteredDocIdSetIterator.java | 50 abstract protected boolean match(int doc) throws IOException; method in class:FilteredDocIdSetIterator 60 if (match(doc)) { 71 if (match(doc)) { 75 if (match(doc)) {
|
/lucene-3.6.0/solr/client/ruby/flare/vendor/plugins/flare/app/helpers/ |
H A D | application_helper.rb | 15 field.match(/(.*)_.*/)[1].humanize.downcase
|
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/ |
H A D | RegexCapabilities.java | 39 boolean match(String string); method in interface:RegexCapabilities
|
H A D | JakartaRegexpCapabilities.java | 67 * Constructs a RegexCapabilities with the default MATCH_NORMAL match style. 72 * Constructs a RegexCapabilities with the provided match flags. 86 public boolean match(String string) { method in class:JakartaRegexpCapabilities 87 return regexp.match(string);
|
/lucene-3.6.0/lucene/contrib/queries/src/test/org/apache/lucene/search/regex/ |
H A D | TestJakartaRegexpCapabilities.java | 30 assertTrue(cap.match("luce")); 34 assertTrue(cap.match("lucene")); 41 assertTrue(cap.match("ab")); 42 assertTrue(cap.match("ac"));
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/spans/ |
H A D | SpanFirstQuery.java | 33 /** Construct a SpanFirstQuery matching spans in <code>match</code> whose end 35 public SpanFirstQuery(SpanQuery match, int end) { argument 36 super(match, 0, end); 55 buffer.append(match.toString(field)); 65 SpanFirstQuery spanFirstQuery = new SpanFirstQuery((SpanQuery) match.clone(), end); 77 && this.match.equals(other.match) 83 int h = match.hashCode();
|
H A D | SpanPositionCheckQuery.java | 31 * Base class for filtering a SpanQuery based on the position of a match. 34 protected SpanQuery match; field in class:SpanPositionCheckQuery 37 public SpanPositionCheckQuery(SpanQuery match) { argument 38 this.match = match; 45 public SpanQuery getMatch() { return match; } 50 public String getField() { return match.getField(); } 56 match.extractTerms(terms); 59 /** Return value if the match should be accepted {@code YES}, rejected {@code NO}, 66 * Implementing classes are required to return whether the current position is a match fo [all...] |
H A D | SpanPayloadCheckQuery.java | 41 * @param match The underlying {@link org.apache.lucene.search.spans.SpanQuery} to check 42 * @param payloadToMatch The {@link java.util.Collection} of payloads to match 44 public SpanPayloadCheckQuery(SpanQuery match, Collection<byte[]> payloadToMatch) { argument 45 super(match); 46 if (match instanceof SpanNearQuery){ 81 buffer.append(match.toString(field)); 94 SpanPayloadCheckQuery result = new SpanPayloadCheckQuery((SpanQuery) match.clone(), payloadToMatch); 106 && this.match.equals(other.match) 112 int h = match [all...] |
H A D | SpanNearPayloadCheckQuery.java | 36 * @param match The underlying {@link SpanQuery} to check 37 * @param payloadToMatch The {@link java.util.Collection} of payloads to match 39 public SpanNearPayloadCheckQuery(SpanNearQuery match, Collection<byte[]> payloadToMatch) { argument 40 super(match); 79 buffer.append(match.toString(field)); 92 SpanNearPayloadCheckQuery result = new SpanNearPayloadCheckQuery((SpanNearQuery) match.clone(), payloadToMatch); 104 && this.match.equals(other.match) 110 int h = match.hashCode();
|
H A D | SpanPositionRangeQuery.java | 34 public SpanPositionRangeQuery(SpanQuery match, int start, int end) { argument 35 super(match); 54 * @return The minimum position permitted in a match 61 * @return the maximum end position permitted in a match. 71 buffer.append(match.toString(field)); 81 SpanPositionRangeQuery result = new SpanPositionRangeQuery((SpanQuery) match.clone(), start, end); 93 && this.match.equals(other.match) 99 int h = match.hashCode();
|
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/ |
H A D | BoostingQuery.java | 29 * The BoostingQuery class can be used to effectively demote results that match a given query. 36 * are simply used to lessen the scores. Documents that match the negativeQuery have their score 45 private Query match; // query to match field in class:BoostingQuery 48 public BoostingQuery(Query match, Query context, float boost) { argument 49 this.match = match; 83 result.add(match, BooleanClause.Occur.MUST); 95 result = prime * result + ((match == null) ? 0 : match [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/charfilter/ |
H A D | htmlentity.py | 26 match = regex.match(line) 27 if match: 28 key = match.group(1) 31 else : codes[key] = r'\u%04X' % int(match.group(2))
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/response/ |
H A D | AnalysisResponseBase.java | 46 * <bool name="match">true | false</bool> (optional) 55 * <bool name="match">true | false</bool> (optional) 90 * <bool name="match">true | false</bool> (optional) 105 Boolean match = (Boolean) tokenNL.get("match"); 106 return new TokenInfo(text, rawText, type, start, end, position, (match == null ? false : match)); 160 private final boolean match; field in class:AnalysisResponseBase.TokenInfo 174 * @param match Indicates whether this token matches one of the the query tokens. 176 TokenInfo(String text, String rawText, String type, int start, int end, int position, boolean match) { argument [all...] |
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/ |
H A D | AnalysisRequestHandlerTestBase.java | 43 assertEquals(Boolean.TRUE, token.get("match")); 63 private boolean match; field in class:AnalysisRequestHandlerTestBase.TokenInfo 74 boolean match) { 84 this.match = match; 120 return match; 65 TokenInfo( String text, String rawText, String type, int start, int end, int position, int[] positionHistory, String payload, boolean match) argument
|
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/ |
H A D | JSONTestUtil.java | 36 * @see #match(String,String,double) 38 public static String match(String input, String pathAndExpected) throws Exception { method in class:JSONTestUtil 39 return match(input, pathAndExpected, DEFAULT_DELTA); 45 * @see #match(String,String,String,double) 47 public static String match(String path, String input, String expected) throws Exception { method in class:JSONTestUtil 48 return match(path, input, expected, DEFAULT_DELTA); 65 public static String match(String input, String pathAndExpected, double delta) throws Exception { method in class:JSONTestUtil 69 return match(path, input, expected, delta); 78 public static String match(String path, String input, String expected, double delta) throws Exception { method in class:JSONTestUtil 97 if (expected != null && (!tester.match(expecte 158 public boolean match(Object expected) { method in class:CollectionTester 164 boolean match() { method in class:CollectionTester [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/ |
H A D | PatternTokenizerFactory.java | 128 // Add segments before each match found 130 String match = input.subSequence(index, matcher.start()).toString(); 131 matchList.add( new Token( match, index, matcher.start()) ); 133 if( match.length() > 0 ) { 138 // If no match is found, return the full string 143 String match = input.subSequence(index, input.length()).toString(); 144 matchList.add( new Token( match, index, input.length()) ); 145 if( match.length() > 0 ) {
|
H A D | PatternTokenizer.java | 85 // match a specific group 87 final String match = matcher.group(group); 88 if (match.length() == 0) continue; 89 termAtt.setEmpty().append(match);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/ |
H A D | makeEuroparlLineFile.py | 80 if reChapterOnly.match(line) is not None: 86 if not reNumberOnly.match(line) and not reTagOnly.match(line): 97 elif not reTagOnly.match(line):
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/util/ |
H A D | makeEuroparlLineFile.py | 80 if reChapterOnly.match(line) is not None: 86 if not reNumberOnly.match(line) and not reTagOnly.match(line): 97 elif not reTagOnly.match(line):
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | MappingCharFilter.java | 62 NormalizeCharMap result = match(nm); 100 private NormalizeCharMap match(NormalizeCharMap map) throws IOException { method in class:MappingCharFilter 107 result = match(subMap);
|
/lucene-3.6.0/dev-tools/scripts/ |
H A D | buildAndPushRelease.py | 54 match = unversionedRex.match(l) 55 if match: 56 s = match.group(1)
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/core/ |
H A D | TestJmxMonitoredMap.java | 103 Set<ObjectInstance> objects = mbeanServer.queryMBeans(null, Query.match( 109 objects = mbeanServer.queryMBeans(null, Query.match(Query.attr("name"), 116 objects = mbeanServer.queryMBeans(null, Query.match(Query.attr("name"), 122 objects = mbeanServer.queryMBeans(null, Query.match(Query.attr("name"),
|
/lucene-3.6.0/lucene/tools/prettify/ |
H A D | lang-ml.js | 1 PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r �\xa0"],["com",/^#(?:if[\t\n\r \xa0]+(?:[$_a-z][\w']*|``[^\t\n\r`]*(?:``|$))|else|endif|light)/i,null,"#"],["str",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])(?:'|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\n\r]*|\(\*[\S\s]*?\*\))/],["kwd",/^(?:abstract|and|as|assert|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|if|in|inherit|inline|interface|internal|lazy|let|match|member|module|mutable|namespace|new|null|of|open|or|override|private|public|rec|return|static|struct|then|to|true|try|type|upcast|use|val|void|when|while|with|yield|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|global|include|method|mixin|object|parallel|process|protected|pure|sealed|trait|virtual|volatile)\b/],
|