Searched defs:end (Results 1 - 25 of 126) sorted by relevance

123456

/lucene-3.6.0/lucene/contrib/highlighter/src/java/org/apache/lucene/search/highlight/
H A DPositionSpan.java25 int end; field in class:PositionSpan
27 public PositionSpan(int start, int end) { argument
29 this.end = end;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/
H A DTokenFilter.java37 /** Performs end-of-stream operations, if any, and calls then <code>end()</code> on the
39 * <b>NOTE:</b> Be sure to call <code>super.end()</code> first when overriding this method.*/
41 public void end() throws IOException { method in class:TokenFilter
42 input.end();
H A DCachingTokenFilter.java64 public final void end() throws IOException { method in class:CachingTokenFilter
82 input.end();
H A DTokenStream.java62 * <li>The consumer calls {@link #end()} so that any end-of-stream operations
148 * @return false for end of stream; true otherwise
158 * This method can be used to perform any end-of-stream operations, such as
165 public void end() throws IOException { method in class:TokenStream
H A DKeywordTokenizer.java81 public final void end() { method in class:KeywordTokenizer
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/
H A DQuotedFieldQueryNode.java37 * @param end
41 int end) {
42 super(field, text, begin, end);
56 return "<quotedfield start='" + this.begin + "' end='" + this.end
40 QuotedFieldQueryNode(CharSequence field, CharSequence text, int begin, int end) argument
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/nodes/
H A DPrefixWildcardQueryNode.java39 * @param end
43 int begin, int end) {
44 super(field, text, begin, end);
42 PrefixWildcardQueryNode(CharSequence field, CharSequence text, int begin, int end) argument
H A DWildcardQueryNode.java37 * @param end
41 int end) {
42 super(field, text, begin, end);
40 WildcardQueryNode(CharSequence field, CharSequence text, int begin, int end) argument
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/spans/
H A DSpanFirstQuery.java27 * start to be zero and only checks the end boundary.
33 /** Construct a SpanFirstQuery matching spans in <code>match</code> whose end
34 * position is less than or equal to <code>end</code>. */
35 public SpanFirstQuery(SpanQuery match, int end) { argument
36 super(match, 0, end);
41 assert spans.start() != spans.end();
42 if (spans.start() >= end)
44 else if (spans.end() <= end)
57 buffer.append(end);
[all...]
H A DSpans.java26 * increasing start position and finally by increasing end position. */
52 /** Returns the end position of the current match. Initially invalid. */
53 public abstract int end(); method in class:Spans
H A DSpanPositionRangeQuery.java26 * Checks to see if the {@link #getMatch()} lies between a start and end position
32 protected int end; field in class:SpanPositionRangeQuery
34 public SpanPositionRangeQuery(SpanQuery match, int start, int end) { argument
37 this.end = end;
43 assert spans.start() != spans.end();
44 if (spans.start() >= end)
46 else if (spans.start() >= start && spans.end() <= end)
61 * @return the maximum end positio
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestByteSlices.java41 synchronized void recycleByteBlocks(byte[][] blocks, int start, int end) { argument
42 for(int i=start;i<end;i++)
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/
H A DPatternTokenizer.java91 offsetAtt.setOffset(correctOffset(index), correctOffset(matcher.end(group)));
106 index = matcher.end();
110 index = matcher.end();
126 public void end() throws IOException { method in class:PatternTokenizer
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestByteSlices.java41 synchronized void recycleByteBlocks(byte[][] blocks, int start, int end) { argument
42 for(int i=start;i<end;i++)
/lucene-3.6.0/solr/solrj/src/java/org/apache/noggit/
H A DCharUtil.java28 public long parseLong(char[] arr, int start, int end) { argument
31 for (int i=negative ? start+1 : start; i<end; i++) {
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/
H A DHash.java128 * via {@code lookup3ycs(s, start, end, initval+(numCodePoints<<2))}
130 public static int lookup3ycs(CharSequence s, int start, int end, int initval) { argument
140 if (i>= end) break;
144 a += Character.isHighSurrogate(ch) && i< end ? Character.toCodePoint(ch, s.charAt(i++)) : ch;
145 if (i>= end) break;
147 b += Character.isHighSurrogate(ch) && i< end ? Character.toCodePoint(ch, s.charAt(i++)) : ch;
148 if (i>= end) break;
150 c += Character.isHighSurrogate(ch) && i< end ? Character.toCodePoint(ch, s.charAt(i++)) : ch;
151 if (i>= end) break;
189 public static long lookup3ycs64(CharSequence s, int start, int end, lon argument
[all...]
/lucene-3.6.0/lucene/contrib/icu/src/test/org/apache/lucene/analysis/icu/segmentation/
H A DTestLaoBreakIterator.java50 int start, end;
53 end = iterator.next();
54 } while (end != BreakIterator.DONE && !isWord(text, start, end));
56 assertTrue(end != BreakIterator.DONE);
57 assertEquals(tokens[i], new String(text, start, end - start));
63 protected boolean isWord(char text[], int start, int end) { argument
65 for (int i = start; i < end; i += UTF16.getCharCount(codepoint)) {
66 codepoint = UTF16.charAt(text, 0, end, start);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DSpanFilterResult.java67 public void addPosition(int start, int end) argument
69 positions.add(new StartEnd(start, end));
88 private int end; field in class:SpanFilterResult.StartEnd
91 public StartEnd(int start, int end) { argument
93 this.end = end;
98 * @return The end position of this match
101 return end;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/payloads/
H A DAveragePayloadFunction.java31 public float currentScore(int docId, String field, int start, int end, int numPayloadsSeen, float currentScore, float currentPayloadScore) { argument
H A DMaxPayloadFunction.java30 public float currentScore(int docId, String field, int start, int end, int numPayloadsSeen, float currentScore, float currentPayloadScore) { argument
H A DMinPayloadFunction.java28 public float currentScore(int docId, String field, int start, int end, int numPayloadsSeen, float currentScore, float currentPayloadScore) { argument
H A DPayloadFunction.java39 * @param end The end position of the matching Span
47 public abstract float currentScore(int docId, String field, int start, int end, int numPayloadsSeen, float currentScore, float currentPayloadScore); argument
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DRecyclingByteBlockAllocator.java94 public synchronized void recycleByteBlocks(byte[][] blocks, int start, int end) { argument
95 final int numBlocks = Math.min(maxBufferedBlocks - freeBlocks, end - start);
108 for (int i = stop; i < end; i++) {
111 bytesUsed.addAndGet(-(end - stop) * blockSize);
H A DRollingCharBuffer.java47 private boolean end; field in class:RollingCharBuffer
55 end = false;
66 if (end) {
71 end = true;
/lucene-3.6.0/solr/contrib/uima/src/test/org/apache/solr/uima/ts/
H A DEntityAnnotation.java47 public EntityAnnotation(JCas jcas, int begin, int end) { argument
50 setEnd(end);
56 * <!-- end-user-doc -->

Completed in 23 milliseconds

123456