I want to only support boolean or query(as many search engine do). But I want to boost document whose terms are closer. e.g. the query terms are 'apache lucene' doc1 apache has many projects such as lucene doc2 The Apache HTTP Server Project is an effort to develop and maintain an ... Lucene is a ..... I want to give doc1 more boost. So I need a place where I can get all position information How to extend Similarity to achieve this?
--------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org