Searched defs:from (Results 1 - 11 of 11) sorted by relevance

/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/
H A DAverage.java54 static Average from(List<Double> values) method in class:Average
/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/
H A DSegTokenPair.java33 public int from; field in class:SegTokenPair
42 public SegTokenPair(char[] idArray, int from, int to, double weight) { argument
44 this.from = from;
59 result = prime * result + from;
81 if (from != other.from)
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/
H A DDistanceUnits.java74 * @param from Unit to convert the distance from
77 public double convert(double distance, DistanceUnits from) { argument
78 if (from == this) {
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/
H A DVector2D.java34 * Create a vector from the origin of the coordinate system to the given
46 * Create a vector from the origin of the coordinate system to the given
54 * Create a vector from one point to another
56 * @param from
59 public Vector2D(Point2D from, Point2D to) { argument
60 this(to.getX() - from.getX(), to.getY() - from.getY());
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/
H A DMultiTrie2.java27 derived from this software without prior written permission. For
29 4. Products derived from this software may not be called "Egothor",
31 permission from Leo.G@seznam.cz.
273 * Remove empty rows from the given Trie and return the newly reduced Trie.
306 private int dashEven(CharSequence in, int from) { argument
307 while (from < in.length()) {
308 if (in.charAt(from) == '-') {
309 return from;
311 from += 2;
H A DTrie.java27 derived from this software without prior written permission. For
29 4. Products derived from this software may not be called "Egothor",
31 permission from Leo.G@seznam.cz.
67 * trie can be termed forward (keys read from left to right) or backward (keys
68 * read from right to left). This property will vary depending on the language
369 * Remove empty rows from the given Trie and return the newly reduced Trie.
389 int from; field in class:Trie.StrEnum
401 from = 0;
404 from = s.length() - 1;
414 char ch = s.charAt(from);
[all...]
/lucene-3.6.0/lucene/contrib/join/src/test/org/apache/lucene/search/
H A DTestJoinUtil.java145 boolean from = context.randomFrom[r];
147 FixedBitSet expectedResult = createExpectedResult(randomValue, from, indexSearcher, context);
154 if (from) {
155 joinQuery = JoinUtil.createJoinQuery("from", "to", actualQuery, indexSearcher);
157 joinQuery = JoinUtil.createJoinQuery("to", "from", actualQuery, indexSearcher);
236 boolean from = context.randomFrom[randomI];
242 if (from) {
252 document.add(newField(random, "from", linkValue, Field.Store.NO, Field.Index.NOT_ANALYZED_NO_NORMS));
268 if (from) {
285 private FixedBitSet createExpectedResult(String queryValue, boolean from, IndexSearche argument
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DCompoundFileReader.java205 public void renameFile(String from, String to) { argument
233 /** Implementation of an IndexInput that reads from a portion of the
263 /** Expert: implements buffer refill. Reads bytes from the current
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/
H A DCSVRequestHandler.java144 private final String from; field in class:CSVLoader.FieldMapperSingle
147 FieldMapperSingle(String from, String to, CSVLoader.FieldAdder base) { argument
148 this.from=from;
154 if (from.equals(val)) val=to;
274 // from a POST, one could cache all of this setup info based on the params.
275 // The link from FieldAdder to this would need to be severed for that to happen.
303 throw new SolrException( SolrException.ErrorCode.BAD_REQUEST, "Map rules must be of the form 'from:to' ,got '"+mapRule+"'");
368 // parse the fieldnames from the header of the file
405 /** this must be MT safe... may be called concurrently from multipl
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fr/
H A DFrenchStemmer.java208 * Will be performed if nothing changed from the first step
344 * Delete a suffix searched in zone "source" if zone "from" contains prefix + search string
348 * @param from java.lang.String - the secondary source zone for search
352 private boolean deleteFromIfPrecededIn( String source, String[] search, String from, String prefix ) { argument
359 if (from!=null && from.endsWith( prefix + search[i] ))
378 * @param from java.lang.String - the secondary source zone for search (where vowel could be)
381 private boolean deleteFromIfTestVowelBeforeIn( String source, String[] search, boolean vowel, String from ) {
383 if (source!=null && from!=null)
388 if ((search[i].length() + 1) <= from
446 deleteButSuffixFromElseReplace( String source, String[] search, String prefix, boolean without, String from, String replace ) argument
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DSolrPluginUtils.java56 * Many of these functions have code that was stolen/mutated from
86 * @param appends values to be appended to those from the request (or defaults) when dealing with multi-val params, or treated as another layer of defaults for singl-val params.
300 * @param query the query built from the userQuery
380 * @param query the query built from the userQuery
552 * converts it to a Map from field name to boost info.
706 * Recursively walks the "from" query pulling out sub-queries and
715 public static void flattenBooleanQuery(BooleanQuery to, BooleanQuery from) { argument
717 for (BooleanClause clause : from.clauses()) {
720 cq.setBoost(cq.getBoost() * from.getBoost());
803 * Where we store a map from fiel
[all...]

Completed in 24 milliseconds