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

/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 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/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/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/core/src/java/org/apache/lucene/index/
H A DCompoundFileReader.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
33 * This class implements a directory, but is limited to only read operations.
93 // Fix the id to not include the segment names. This is relevant for
145 // Default to readBufferSize passed in when we were opened
187 /** Set the modified time of the compound file to now.
205 public void renameFile(String from, String to) { argument
265 * @param b the array to read bytes into
266 * @param offset the offset in the array to star
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/
H A DCSVRequestHandler.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
101 int skipLines; // number of lines to skip at start of file
107 /** Add a field to a document unless it's zero length.
109 * further transforming or splitting field values to keep the
145 private final String to; field in class:CSVLoader.FieldMapperSingle
147 FieldMapperSingle(String from, String to, CSVLoader.FieldAdder base) { argument
149 this.to=to;
[all...]
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.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
45 * intended to be used only by unit tests.
49 * to ensure they are closed by the test.
53 * <li> When a MockDirectoryWrapper is closed, it runs CheckIndex to test if
56 * refusing to write/delete to open files.
86 // NOTE: we cannot initialize the Map here due to the
93 // is made to delet
770 copy(Directory to, String src, String dest) argument
[all...]
/lucene-3.6.0/solr/contrib/dataimporthandler-extras/src/java/org/apache/solr/handler/dataimport/
H A DMailEntityProcessor.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
44 * index emails along with their attachments from POP3 or IMAP sources. Refer to
46 * for more details. <b>This API is experimental and subject to change</b>
203 List<String> to = new ArrayList<String>();
205 addAddressToList(adresses, to);
207 addAddressToList(adresses, to);
209 addAddressToList(adresses, to);
210 if (to
245 addAddressToList(Address[] adresses, List<String> to) argument
[all...]
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.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
42 * intended to be used only by unit tests.
46 * to ensure they are closed by the test.
50 * <li> When a MockDirectoryWrapper is closed, it runs CheckIndex to test if
53 * refusing to write/delete to open files.
83 // NOTE: we cannot initialize the Map here due to the
90 // is made to delet
671 copy(Directory to, String src, String dest) argument
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DSolrPluginUtils.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
53 * <p>Utilities that may be of use to RequestHandlers.</p>
60 * <p>:TODO: refactor StandardRequestHandler to use these utilities</p>
71 * RequestHandlers can use this method to ensure their defaults are
72 * visible to other components such as the response writer
81 * RequestHandlers can use this method to ensure their defaults and
82 * overrides are visible to other components such as the response writer
85 * @param defaults values to b
715 flattenBooleanQuery(BooleanQuery to, BooleanQuery from) argument
[all...]

Completed in 509 milliseconds