ShingleFilter?
On Nov 29, 2012, at 2:41 PM, Otis Gospodnetic
wrote:
> Hi,
>
> ShingleMatrixFilter was removed in
> https://issues.apache.org/jira/browse/LUCENE-2920
>
>
> What do people use instead? Something custom? Or is there something in
> Lucene itself that can be used to get shingl
t;, 1,
1.4142135f, 0, 10);
assertNext(ts, reusableToken, "hello_tellus", 1, 1.4142135f, 0,
10);
assertNext(ts, reusableToken, "and_salutations_tellus", 1,
1.7320508f, 0, 10);
assertNext(ts, reusableToken, "salutations_tellus", 1,
1.4142135f, 0, 10);
The unit tests don't really show how I could use it for synonyms at
index time- does anyone have sample code? Is it possible?
-Original Message-
From: Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com]
Sent: Tuesday, January 13, 2009 3:06 PM
To: java-user@lucene.apache.org
Subjec
Eric,
Unit tests should help you see how this can be used:
./contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java
./contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleAnalyzerWrapper.java
./contrib/analyzers/src/java/org/apache/lucene/analysis/shingle