Searched defs:string (Results 1 - 14 of 14) sorted by relevance

/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/
H A DSuggestWord.java43 public String string; field in class:SuggestWord
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/
H A DRegexCapabilities.java36 * @param string
37 * @return true if string matches the pattern last passed to {@link #compile}.
39 boolean match(String string); argument
H A DJakartaRegexpCapabilities.java86 public boolean match(String string) { argument
87 return regexp.match(string);
H A DJavaUtilRegexCapabilities.java73 public boolean match(String string) { argument
74 return pattern.matcher(string).matches();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/
H A DLiteralValueSource.java30 protected final String string; field in class:LiteralValueSource
31 public LiteralValueSource(String string) { argument
32 this.string = string;
37 return string;
46 return string;
51 return string;
58 return "literal(" + string + ")";
68 if (!string.equals(that.string)) retur
[all...]
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/
H A DTemplateString.java26 * Provides functionality for replacing variables in a templatized string. It
28 * string.
60 * Returns a string with all variables replaced by the known values. An
61 * unknown variable is replaced by an empty string.
63 * @param string the String to be resolved
65 * @return the string with all variables replaced
67 public String replaceTokens(String string, VariableResolver resolver) { argument
68 if (string == null)
70 TemplateString ts = cache.get(string);
72 ts = new TemplateString(string);
[all...]
/lucene-3.6.0/lucene/contrib/join/src/java/org/apache/lucene/search/join/
H A DTermsQuery.java95 public String toString(String string) { argument
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DWildcardTermEnum.java103 String string, int stringIdx)
109 // End of string yet?
110 boolean sEnd = (s >= string.length());
114 // If we're looking at the end of the string...
155 // If we've gone past the end of the string, or the pattern,
174 // Examine the string, starting at the last character.
175 for (int i = string.length(); i >= s; --i)
177 if (wildcardEquals(pattern, p, string, i))
184 if (pattern.charAt(p) != string.charAt(s))
102 wildcardEquals(String pattern, int patternIdx, String string, int stringIdx) argument
H A DFieldCache.java104 public byte parseByte(String string); argument
112 public short parseShort(String string); argument
120 public int parseInt(String string); argument
128 public float parseFloat(String string); argument
136 public long parseLong(String string); argument
144 public double parseDouble(String string); argument
340 * @param parser Computes byte for string values.
353 * @param parser Computes byte for string values.
380 * @param parser Computes short for string values.
393 * @param parser Computes short for string value
[all...]
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/
H A DEscapeQuerySyntaxImpl.java101 * @param string
102 * string to get replaced
106 * the new character to prefix sequence1 in return string.
109 private static CharSequence replaceIgnoreCase(CharSequence string, argument
111 if (escapeChar == null || sequence1 == null || string == null)
114 // empty string case
115 int count = string.length();
122 result.append(string.charAt(i));
133 if ((firstIndex = string.toString().toLowerCase(locale).indexOf(first,
141 if (string
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DCharsRef.java65 public CharsRef(String string) { argument
66 this.chars = string.toCharArray();
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/
H A D_TestUtil.java228 /** Returns random string, including full unicode range. */
234 * Returns a random string up to a certain length.
456 * Randomly upcases, downcases, or leaves intact each code point in the given string
526 /** Returns random string of length between 0-20 codepoints, all codepoints within the same unicode block. */
531 /** Returns random string of length up to maxLength codepoints , all codepoints within the same unicode block. */
536 /** Returns random string of length between min and max codepoints, all codepoints within the same unicode block. */
546 /** Returns random string, with a given UTF-8 byte length*/
732 public static CharSequence stringToCharSequence(String string, Random random) { argument
733 return bytesToCharSequence(new BytesRef(string), random);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DJustCompileSearch.java205 public long parseLong(String string) { argument
213 public double parseDouble(String string) { argument
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DJustCompileSearch.java205 public long parseLong(String string) { argument
213 public double parseDouble(String string) { argument

Completed in 43 milliseconds