Hi, good morning everyone. I would like to ask one question about lucene index file.
I want to know whether I could customize this index file. I know this index file is created by lucene in the backgroud from documents directory. And all of words and their frequence is output in the index file. In fact I want to calculate the weight of each word and just output some words which weight value is high in the index file. According to the index creation method as below *************** ... IndexWriter writer = new IndexWriter(index, new JapaneseAnalyzer(), create); ... Document doc = new Document(); doc.add(Field.Text("contents",reader)); ... writer.addDocument(doc); *************** It seems impossible. But I realy want to is there some method to realize it in the lucene ? In fact I want to use lucene not for retrival but for text clustering. Best regards. Yali Hu --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org