[ https://issues.apache.org/jira/browse/LUCENE-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763641#action_12763641 ]
Robert Muir commented on LUCENE-1958: ------------------------------------- bq. It doesnt happen with Lucene 2.9 (just downloaded). Can you tell me if you have made a custom analyzer? If so, does this analyzer implement reusableTokenStream? If this is the case, its really not a bug, reset() is an optional operation and with Lucene 2.4.1 you can't safely reuse instances of ShingleFilter for this reason, it does not support reuse as of that version. > ShingleFilter creates shingles across two consecutives documents : bug or > normal behaviour ? > -------------------------------------------------------------------------------------------- > > Key: LUCENE-1958 > URL: https://issues.apache.org/jira/browse/LUCENE-1958 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/analyzers > Affects Versions: 2.4.1 > Environment: Windows XP / jdk1.6.0_15 > Reporter: MRIT64 > Priority: Minor > > HI > I add two consecutive documents that are indexed with some filters. The last > one is ShingleFilter. > ShingleFilter creates a shingle spannnig the two documents, which has no > sense in my context. > Is that a bug oris it ShingleFilter normal behaviour ? If it's normal > behaviour, is it possible to change it optionnaly ? > Thanks > MR -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org