Lines Matching defs:SUM_CONTEXT
51 private static final int SUM_CONTEXT = 10;
172 // Start searching at a point SUM_CONTEXT terms back,
173 // and move SUM_CONTEXT terms into the future.
175 int startToken = (i > SUM_CONTEXT) ? i-SUM_CONTEXT : 0;
176 int endToken = Math.min(i+SUM_CONTEXT, tokens.length);
183 // SUM_CONTEXT beyond the last query-term.
205 endToken = Math.min(j+SUM_CONTEXT, tokens.length);
237 // Start SUM_CONTEXT places away. The next
238 // search for relevant excerpts begins at i-SUM_CONTEXT
240 i = j+SUM_CONTEXT;