Re: Analyzer which creates terms of one to n words

2011-04-07 Thread Israel Tsadok
Take a look st http://lucene.apache.org/java/3_0_3/api/contrib-analyzers/org/apache/lucene/analysis/shingle/package-summary.html On Thu, Apr 7, 2011 at 11:30 AM, Clemens Wyss wrote: > Is there an analyzer which takes a text and creates search terms based on > the following rules: > - all single

Analyzer which creates terms of one to n words

2011-04-07 Thread Clemens Wyss
Is there an analyzer which takes a text and creates search terms based on the following rules: - all single words - "two words in a row" - "three word in a row" - ... - "n words in a row" The reason is the following: I have an index which is now being analyzed using WhitespaceAnalyzer. Besides