Searched defs:matches (Results 1 - 10 of 10) sorted by relevance

/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/
H A DJaroWinklerDistance.java31 private int[] matches(String s1, String s2) { method in class:JaroWinklerDistance
44 int matches = 0;
52 matches++;
57 char[] ms1 = new char[matches];
58 char[] ms2 = new char[matches];
85 return new int[] { matches, transpositions / 2, prefix, max.length() };
89 int[] mtp = matches(s1, s2);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DDocList.java32 * Returns the zero based offset of this list within the total ordered list of matches to the query.
42 * Returns the total number of matches for the search
45 * Hence it's always true that matches() >= size()
46 * @return number of matches for the search(query & any filters)
48 public int matches(); method in interface:DocList
H A DDocSlice.java32 final int matches; field in class:DocSlice
42 * @param matches total number of matches for the query
44 public DocSlice(int offset, int len, int[] docs, float[] scores, int matches, float maxScore) { argument
49 this.matches=matches;
59 if (requestedEnd > docs.length && this.matches > docs.length) return null;
63 return new DocSlice(offset, realLen, docs, scores, matches, maxScore);
77 public int matches() { return matches; } method in class:DocSlice
[all...]
H A DExtendedDismaxQParserPlugin.java1205 if( df.matches( f ) ) return df.wildcard;
1256 public boolean matches(String name) { method in class:ExtendedDismaxQParser.DynamicField
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/grouping/distributed/command/
H A DQueryCommandResult.java23 * Encapsulates {@link TopDocs} and the number of matches.
28 private final int matches; field in class:QueryCommandResult
30 public QueryCommandResult(TopDocs topDocs, int matches) { argument
32 this.matches = matches;
40 return matches;
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/grouping/collector/
H A DFilterCollector.java37 private int matches; field in class:FilterCollector
49 matches++;
65 return matches;
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/response/
H A DGroupCommand.java56 * @param matches The total number of documents found for this command
58 public GroupCommand(String name, int matches) { argument
60 _matches = matches;
68 * @param matches The total number of documents found for this command
71 public GroupCommand(String name, int matches, int nGroups) { argument
73 _matches = matches;
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/
H A DValueSourceScorer.java50 public boolean matches(int doc) { method in class:ValueSourceScorer
68 if (matches(doc)) return doc;
87 if (matches(doc)) return true;
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/pt/
H A DRSLPStemmerBase.java107 * @return true if the word matches this rule.
109 public boolean matches(char s[], int len) { method in class:RSLPStemmerBase.Rule
142 public boolean matches(char s[], int len) { method in class:RSLPStemmerBase.RuleWithSetExceptions
143 return super.matches(s, len) && !exceptions.contains(s, 0, len);
167 public boolean matches(char s[], int len) { method in class:RSLPStemmerBase.RuleWithSuffixExceptions
168 if (!super.matches(s, len))
234 if (rules[i].matches(s, len))
292 if (matcher.matches()) {
296 if (matcher.matches()) {
300 if (matcher.matches()) {
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DIndexSchema.java556 // any false matches. We want to act like a compiler tool and try and match
1048 public boolean matches(String name) { method in class:IndexSchema.DynamicReplacement
1069 // with a virtual matches().
1178 if (df.matches(fieldName)) return df.regex;
1186 * consider it explicitly defined if it matches a field or dynamicField
1197 if (df.matches(fieldName)) return true;
1214 if (df.matches(fieldName)) return true;
1225 * matches a dynamic field.
1235 if (df.matches(fieldName)) return df.makeSchemaField(fieldName);
1245 * matches
[all...]

Completed in 4326 milliseconds