Searched refs:to (Results 1 - 25 of 45) sorted by relevance

12

/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/
H A DSegTokenPair.java2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * Unless required by applicable law or agreed to in writing, software
38 public int to; field in class:SegTokenPair
42 public SegTokenPair(char[] idArray, int from, int to, double weight) { argument
45 this.to = to;
60 result = prime * result + to;
83 if (to != other.to)
[all...]
H A DBiSegGraph.java2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * Unless required by applicable law or agreed to in writing, software
76 // If we cannot find the next Token, then go to the end and repeat the same cycle.
78 // Because the beginning position of endToken is sentenceLen, so equal to sentenceLen can find endToken.
122 * @param to index of the second token in the token pair
125 public boolean isToExist(int to) { argument
126 return tokenPairListTable.get(Integer.valueOf(to)) != null;
132 * @param to index of the second token in the token pair
135 public List<SegTokenPair> getToList(int to) { argument
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/
H A DLift.java9 license applies to a single file or document, the "Egothor developers"
11 or document. If this license applies to the Egothor project as a
26 3. The name "Egothor" must not be used to endorse or promote products
35 acknowledgement equivalent to the following:
65 * Lift's <i>raison d'etre</i> is to implement reduction of the trie via the
66 * Lift-Up method., which makes the data structure less liable to overstemming.
74 * @param changeSkip when set to <tt>true</tt>, comparison of two Cells takes
85 * @param orig the Trie to optimized
109 * possible, to higher levels which are closer to th
[all...]
H A DReduce.java9 license applies to a single file or document, the "Egothor developers"
11 or document. If this license applies to the Egothor project as a
26 3. The name "Egothor" must not be used to endorse or promote products
35 acknowledgement equivalent to the following:
63 * The Reduce object is used to remove gaps in a Trie which stores a dictionary.
76 * @param orig the Trie to optimize
91 List<Row> removeGaps(int ind, List<Row> old, List<Row> to, int remap[]) { argument
92 remap[ind] = to.size();
95 to.add(now);
100 removeGaps(c.ref, old, to, rema
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/standard/
H A DREAD_BEFORE_REGENERATING.txt2 Licensed to the Apache Software Foundation (ASF) under one or more
5 The ASF licenses this file to You under the Apache License, Version 2.0
11 Unless required by applicable law or agreed to in writing, software
20 and need to regenerate the tokenizer, only use the trunk version
/lucene-3.6.0/solr/example/exampledocs/
H A Dpost.sh2 # Licensed to the Apache Software Foundation (ASF) under one or more
5 # The ASF licenses this file to You under the Apache License, Version 2.0
11 # Unless required by applicable law or agreed to in writing, software
21 echo Posting file $f to $URL
26 #send the commit command to make sure all the changes are flushed and visible
/lucene-3.6.0/solr/scripts/
H A Dcommit3 # Licensed to the Apache Software Foundation (ASF) under one or more
6 # The ASF licenses this file to You under the Apache License, Version 2.0
12 # Unless required by applicable law or agreed to in writing, software
18 # Shell script to force a commit of all changes since last commit
36 -h specify Solr hostname (defaults to localhost)
38 -w specify name of Solr webapp (defaults to solr)
39 -u specify user to sudo to before running script
90 logMessage failed to connect to Sol
[all...]
H A Doptimize3 # Licensed to the Apache Software Foundation (ASF) under one or more
6 # The ASF licenses this file to You under the Apache License, Version 2.0
12 # Unless required by applicable law or agreed to in writing, software
18 # Shell script to force a optimized commit of all changes since last commit
36 -h specify Solr hostname (defaults to localhost)
38 -w specify name of Solr webapp (defaults to solr)
39 -u specify user to sudo to before running script
90 logMessage failed to connect to Sol
[all...]
H A Dsnapinstaller3 # Licensed to the Apache Software Foundation (ASF) under one or more
6 # The ASF licenses this file to You under the Apache License, Version 2.0
12 # Unless required by applicable law or agreed to in writing, software
18 # Shell script to install a snapshot into place as the Lucene collection
40 -M master specify hostname of master server from where to pull index
44 -u specify user to sudo to before running script
97 # assume relative path to start at ${solr_root}
148 logMessage failed to ssh to maste
[all...]
H A Dabc3 # Licensed to the Apache Software Foundation (ASF) under one or more
6 # The ASF licenses this file to You under the Apache License, Version 2.0
12 # Unless required by applicable law or agreed to in writing, software
18 # Shell script to make an Atomic Backup after Commit of
37 -h specify Solr hostname (defaults to localhost)
39 -w specify name of Solr webapp (defaults to solr)
40 -u specify user to sudo to before running script
42 -d specify directory holding index data (defaults to data)
94 logMessage sending commit to Sol
[all...]
H A Dabo3 # Licensed to the Apache Software Foundation (ASF) under one or more
6 # The ASF licenses this file to You under the Apache License, Version 2.0
12 # Unless required by applicable law or agreed to in writing, software
18 # Shell script to make an Atomic Backup after Optimize of
36 -h specify Solr hostname (defaults to localhost)
38 -w specify name of Solr webapp (defaults to solr)
39 -u specify user to sudo to before running script
41 -d specify directory holding index data (defaults to data)
93 logMessage sending optimize to Sol
[all...]
H A Drsyncd-stop3 # Licensed to the Apache Software Foundation (ASF) under one or more
6 # The ASF licenses this file to You under the Apache License, Version 2.0
12 # Unless required by applicable law or agreed to in writing, software
18 # Shell script to stop rsyncd on master Solr server
35 -u specify user to sudo to before running script
77 logMessage "unable to get rsyncd's PID"
100 logMessage rsyncd failed to stop after $timeout seconds
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/
H A DVector2D.java2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * Unless required by applicable law or agreed to in writing, software
34 * 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
57 * @param to
59 public Vector2D(Point2D from, Point2D to) { argument
60 this(to.getX() - from.getX(), to
[all...]
/lucene-3.6.0/lucene/test-framework/lib/
H A Dant-LICENSE-ASL.txt19 * "control" means (i) the power, direct or indirect, to cause the
28 * including but not limited to software source code, documentation
33 * not limited to compiled object code, generated documentation,
34 * and conversions to other media types.
38 * copyright notice that is included in or attached to the work
46 * separable from, or merely link (or bind by name) to the interfaces of,
51 * to that Work or Derivative Works thereof, that is intentionally
52 * submitted to Licensor for inclusion in the Work by the copyright owner
53 * or by an individual or Legal Entity authorized to submit on behalf of
56 * to th
[all...]
H A Dant-junit-LICENSE-ASL.txt19 * "control" means (i) the power, direct or indirect, to cause the
28 * including but not limited to software source code, documentation
33 * not limited to compiled object code, generated documentation,
34 * and conversions to other media types.
38 * copyright notice that is included in or attached to the work
46 * separable from, or merely link (or bind by name) to the interfaces of,
51 * to that Work or Derivative Works thereof, that is intentionally
52 * submitted to Licensor for inclusion in the Work by the copyright owner
53 * or by an individual or Legal Entity authorized to submit on behalf of
56 * to th
[all...]
/lucene-3.6.0/lucene/contrib/highlighter/src/java/org/apache/lucene/search/vectorhighlight/
H A DBaseFragmentsBuilder.java4 * Licensed to the Apache Software Foundation (ASF) under one or more
7 * The ASF licenses this file to You under the Apache License, Version 2.0
13 * Unless required by applicable law or agreed to in writing, software
123 return doc.getValues( fieldName ); // according to Document class javadoc, this never returns null
127 // according to javadoc, doc.getFields(fieldName) cannot be used with lazy loaded field???
129 return doc.getFields( fieldName ); // according to Document class javadoc, this never returns null
144 for( Toffs to : subInfo.termsOffsets ){
146 .append( encoder.encodeText( src.substring( srcIndex, to.startOffset - s ) ) )
148 .append( encoder.encodeText( src.substring( to.startOffset - s, to
[all...]
H A DFieldFragList.java4 * Licensed to the Apache Software Foundation (ASF) under one or more
7 * The ASF licenses this file to You under the Apache License, Version 2.0
13 * Unless required by applicable law or agreed to in writing, software
28 * to create fragments (snippets).
43 * convert the list of WeightedPhraseInfo to WeightedFragInfo, then add it to the fragInfos
130 for( Toffs to : termsOffsets )
131 sb.append( to.toString() );
H A DFieldPhraseList.java3 * Licensed to the Apache Software Foundation (ASF) under one or more
6 * The ASF licenses this file to You under the Apache License, Version 2.0
12 * Unless required by applicable law or agreed to in writing, software
28 * to create a FieldFragList object.
35 * create a FieldPhraseList that has no limit on the number of phrases to analyze
136 Toffs to = termsOffsets.get( termsOffsets.size() - 1 );
137 to.setEndOffset( ti.getEndOffset() );
171 for( Toffs to : termsOffsets ){
172 sb.append( to );
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DFreqProxTermsWriterPerField.java4 * Licensed to the Apache Software Foundation (ASF) under one or more
7 * The ASF licenses this file to You under the Apache License, Version 2.0
13 * Unless required by applicable law or agreed to in writing, software
210 FreqProxPostingsArray to = (FreqProxPostingsArray) toArray;
214 System.arraycopy(docFreqs, 0, to.docFreqs, 0, numToCopy);
215 System.arraycopy(lastDocIDs, 0, to.lastDocIDs, 0, numToCopy);
216 System.arraycopy(lastDocCodes, 0, to.lastDocCodes, 0, numToCopy);
217 System.arraycopy(lastPositions, 0, to.lastPositions, 0, numToCopy);
H A DTermVectorsTermsWriterPerField.java4 * Licensed to the Apache Software Foundation (ASF) under one or more
7 * The ASF licenses this file to You under the Apache License, Version 2.0
13 * Unless required by applicable law or agreed to in writing, software
102 * are enabled, to write the vectors to
103 * RAMOutputStream, which is then quickly flushed to
154 // We swap between two encoders to save copying
295 TermVectorsPostingsArray to = (TermVectorsPostingsArray) toArray;
299 System.arraycopy(freqs, 0, to.freqs, 0, size);
300 System.arraycopy(lastOffsets, 0, to
[all...]
/lucene-3.6.0/solr/dev-tools/
H A Dstub-analysis-factory-maker.pl4 * Licensed to the Apache Software Foundation (ASF) under one or more
7 * The ASF licenses this file to You under the Apache License, Version 2.0
13 * Unless required by applicable law or agreed to in writing, software
29 # 3) crawl the source dirs, looking for .java files corrisponding to
35 # * any ClassNames not found will be logged to stdout
127 or die "can't write to $facFile: $!";
139 # we need to init something, stub it out
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DDirectory.java4 * Licensed to the Apache Software Foundation (ASF) under one or more
7 * The ASF licenses this file to You under the Apache License, Version 2.0
13 * Unless required by applicable law or agreed to in writing, software
71 /** Set the modified time of an existing file to now.
91 * @param name the name of the file for which to return the length.
105 * Ensure that any writes to this file are moved to
106 * stable storage. Lucene uses this to properly commit
107 * changes to the index, to preven
229 copy(Directory to, String src, String dest) argument
[all...]
/lucene-3.6.0/lucene/tools/prettify/
H A Dlang-ml.js1 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/],
/lucene-3.6.0/solr/client/ruby/flare/config/
H A Dboot.rb1 # The ASF licenses this file to You under the Apache License, Version 2.0
7 # Unless required by applicable law or agreed to in writing, software
37 # Asking for 1.1.6 will give you 1.1.6.5206, if available -- makes it easier to use beta gems
46 change environment.rb to define RAILS_GEM_VERSION with your desired version.
/lucene-3.6.0/solr/client/ruby/flare/vendor/plugins/engines/
H A Dinstall.rb26 Once the warm, fuzzy glow has subsided, be sure to read the contents
28 from Rails 1.1.x to 1.2.x.

Completed in 84 milliseconds

12