[ https://issues.apache.org/jira/browse/LUCENE-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764134#action_12764134 ]
MRIT64 commented on LUCENE-1958: -------------------------------- - Yes, I use a custom analyser which uses reusableToken - I dont know if reusableToken is supported or not in this version, but the method next(Token reusableToken) is proposed on the ShingleFilter 2.4.1 Javadoc (see http://lucene.apache.org/java/2_4_1/api/org/apache/lucene/analysis/shingle/ShingleFilter.html). That's the reason why I have used it and I don't know how it works internally and the is nothing mentionned on the documentation. Anyway, it doesnt' matter know because the problem doesnt occur with Lucene 2.9. Regards > 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