Re: Dynamic Score Boosting by creator

2008-12-11 Thread prabin meitei
Hi, You can boost an individual query. For example Assuming your query to be a boolean query containing a term for the creator BooleanQuery query = new BooleanQuery(); . (any other part of your query) . TermQuery termQ = new TermQuery(new Term("creator", user)); termQ.setBoost(3.0f); //boost th

Dynamic Score Boosting by creator

2008-12-11 Thread Dalvi, Rajesh
Hello, I am indexing creator information for each document. When I query with given User, I want documents created by the given user should score higher. How can I do this? Thanks, Rajesh