/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/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);
|
H A D | JavaUtilRegexCapabilities.java | 27 * attempt to {@link #match} each term for the specified field in the index. 57 * to match the functionality that they need. 73 public boolean match(String string) { method in class:JavaUtilRegexCapabilities
|
/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/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 | 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 | 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 | 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();
|
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...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/ |
H A D | SlowSynonymFilter.java | 65 * - need to go for the longest match 66 * a b => foo #shouldn't match if "a b" is followed by "c d" 72 * trying to match the first rule... all but "a" should be 73 * pushed back so a match may be made on "b c". 74 * - don't try and match generated tokens (thus need separate queue) 103 // OK, we matched a token, so find the longest match. 107 result = match(result); 110 // no match, simply return the first token read. 119 // there was a match... let's generate the new tokens, merging 215 private SlowSynonymMap match(SlowSynonymMa method in class:SlowSynonymFilter [all...] |
/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/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/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/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/schema/ |
H A D | LatLonType.java | 320 // TODO: recast as a value source that doesn't have to match all docs 449 boolean match() { method in class:SpatialDistanceQuery.SpatialScorer 508 if (!match()) continue;
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | JustCompileSearch.java | 281 protected boolean match(int docid) { method in class:JustCompileSearch.JustCompileFilteredDocIdSet 294 protected boolean match(int doc) { method in class:JustCompileSearch.JustCompileFilteredDocIdSetIterator
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | JustCompileSearch.java | 281 protected boolean match(int docid) { method in class:JustCompileSearch.JustCompileFilteredDocIdSet 294 protected boolean match(int doc) { method in class:JustCompileSearch.JustCompileFilteredDocIdSetIterator
|
/lucene-3.6.0/solr/client/ruby/flare/public/javascripts/ |
H A D | prototype.js | 154 var result = '', source = this, match; 158 if (match = source.match(pattern)) { 159 result += source.slice(0, match.index); 160 result += String.interpret(replacement(match)); 161 source = source.slice(match.index + match[0].length); 173 return this.gsub(pattern, function(match) { 174 if (--count < 0) return match[0]; 175 return replacement(match); [all...] |