>>I'd like to enable ShingleFilter to only create shingles for a set of
>>(stop) words (rather than for all N tokens). 

Hi Jason,

You might want to take a look at our port of the Nutch CommonGrams filter to
Solr.  https://issues.apache.org/jira/browse/SOLR-908.   It does what you
want and should work with lucene without too much problem if you deal with
the dependency on org.apache.solr.analysis.BufferedTokenStream.

Tom Burton-West

-- 
View this message in context: 
http://www.nabble.com/ShingleFilter-%2B-StopWords--tp24686636p24702699.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to