Searched defs:last (Results 1 - 8 of 8) sorted by relevance

/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/analysis/icu/segmentation/
H A DCharArrayIterator.java81 public char last() { method in class:CharArrayIterator
H A DLaoBreakIterator.java49 * <li>backtrack and remove the ດ from the last syllable, placing it on the current syllable.
52 * <li>If 2 or 3 fails, then restore the ດ to the last syllable and skip the current character.
107 public int last() { method in class:LaoBreakIterator
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/util/
H A DCharArrayIterator.java85 public char last() { method in class:CharArrayIterator
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/
H A DBalancedSegmentMergePolicy.java119 int last = infos.size();
120 while(last > 0) {
122 final SegmentInfo info = infos.info(--last);
124 last++;
129 if (last > 0) {
135 if (last > 1 || !isMerged(infos.info(0))) {
138 spec.add(new OneMerge(infos.asList().subList(0, last)));
140 } else if (last > maxNumSegments) {
143 spec = findBalancedMerges(infos, last, maxNumSegments, _partialExpunge);
217 private double[][] createVarianceTable(SegmentInfos infos, int last, in argument
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DLogMergePolicy.java246 SegmentInfos infos, int maxNumSegments, int last) throws IOException {
250 int start = last - 1;
259 if (last - start - 1 > 1 || (start != last - 1 && !isMerged(infos.info(start + 1)))) {
262 spec.add(new OneMerge(segments.subList(start + 1, last)));
264 last = start;
265 } else if (last - start == mergeFactor) {
267 spec.add(new OneMerge(segments.subList(start, last)));
268 last = start;
275 if (last >
245 findForcedMergesSizeLimit( SegmentInfos infos, int maxNumSegments, int last) argument
287 findForcedMergesMaxNumSegments(SegmentInfos infos, int maxNumSegments, int last) argument
[all...]
H A DSegmentInfos.java116 private long lastGeneration = 0; // generation of the "segments_N" file we last successfully read
694 // segments_N last tried.
697 // Segment file has advanced since our last loop
772 * last (exclusive), so total number of segments returned
773 * is last-first.
774 * @deprecated use {@code asList().subList(first, last)}
778 public SegmentInfos range(int first, int last) { argument
780 infos.addAll(segments.subList(first, last));
878 // logic in SegmentInfos to kick in and load the last
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/spans/
H A DNearSpansUnordered.java44 private SpansCell last; // sorted by doc only field in class:NearSpansUnordered
177 while (more && first.doc() < last.doc()) {
178 more = first.skipTo(last.doc()); // skip first upto last
285 if (last != null) { // add next to end of list
286 last.next = cell;
289 last = cell;
294 last.next = first; // move first to end of list
295 last = first;
297 last
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/shingle/
H A DShingleMatrixFilter.java224 * @param ignoringSinglePrefixOrSuffixShingle if true, shingles that only contains permutation of the first of the last column will not be produced as shingles. Useful when adding boundary marker tokens such as '^' and '$'.
293 * @param ignoringSinglePrefixOrSuffixShingle if true, shingles that only contains permutation of the first of the last column will not be produced as shingles. Useful when adding boundary marker tokens such as '^' and '$'.
307 * @param ignoringSinglePrefixOrSuffixShingle if true, shingles that only contains permutation of the first of the last column will not be produced as shingles. Useful when adding boundary marker tokens such as '^' and '$'.
643 * When the last token is read from the token stream it will column.setLast(true);
719 private boolean last; field in class:ShingleMatrixFilter.Matrix.Column
757 ", last=" + last +
770 public void setLast(boolean last) { argument
771 this.last = last;
[all...]

Completed in 22 milliseconds