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

/opengrok/src/org/opensolaris/opengrok/search/
H A DSummarizer.java51 private static final int SUM_CONTEXT = 10; field in class:Summarizer
182 // Start searching at a point SUM_CONTEXT terms back,
183 // and move SUM_CONTEXT terms into the future.
185 int startToken = (i > SUM_CONTEXT) ? i - SUM_CONTEXT : 0;
186 int endToken = Math.min(i + SUM_CONTEXT, tokens.length);
193 // SUM_CONTEXT beyond the last query-term.
215 endToken = Math.min(j + SUM_CONTEXT, tokens.length);
247 // Start SUM_CONTEXT places away. The next
248 // search for relevant excerpts begins at i-SUM_CONTEXT
[all...]

Completed in 8 milliseconds