On Thu, Jul 26, 2012 at 12:16 PM, Johannes Neubarth <[email protected]> wrote:

> For stopwords that are at the end of the tokenStream (e.g. "them"), the
> positionIncrement is not updated - after leaving the while-loop,
> skippedTokens is 0. My workaround is to append a unique number to every
> input text, so that every text ends with a non-stopword. Can you think
> of a more reasonable approach?
>

Personally I consider this a bug:
https://issues.apache.org/jira/browse/LUCENE-3849

-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to