On 21 December 2010 11:09, Jawahar Lal <j...@chambal.com> wrote:
> Hi, > > I indexed the web pages content. I want to generate following information > from the indexes. > > > 1. All the keywords in the index, and their no. of frequency. > I can get this using *indexReader.terms() > * > 2. I also want to generate TWO Word Phrase from the index ??? > > > For example:- > > Document:- This is about how to index contents using lucene. > > After Index:- > 1. *Getting all keyword ==*> this, is,about,how,to, index, contents, > using, lucene (Suppose no filtering is done for stop words) > 2. *Getting Two Word Phrase ==>* index contents, using lucene etc... > > How can I get the second result data from index ? > > Thanks >