MultiFieldQueryParser Problems about how to give the fields weight

2005-05-11 Thread luqun lou
Now Suppose,There are two fields,"content","summary",but i think the query in content field may have highter weight than the summary field. how can i do it? I overload the parse function,and add weights which store every fields weights. public static Query parse(String query,String[] fie

Re: MultiFieldQueryParser Problems about how to give the fields weight

2005-05-15 Thread luqun lou
field. Otis --- luqun lou <[EMAIL PROTECTED]> wrote: > Now Suppose,There are two fields,"content","summary",but i think > the > query in content field may have highter weight than the summary > field. how > can i do it? >I overload the parse functi

how to change lucene sort algorithm?

2005-05-15 Thread luqun lou
Dear Sir/Madam: According to the source code of Lucene,I think it just use the simply tf*idf algorithm.But i want to use complicate algorithm,such as BM25,BM2500,how can i do it? _ FREE pop-up blocking with the new MSN Toolbar

how to chang lucene's default sort algorithm?

2005-05-23 Thread luqun lou
Dear Sir/Madam: I am a beginner of IR.I want to use Lucene with BM25 algorithm,but i dont know how to change its default sort algorithm? Can you give me some advice? Thanks! _ Don't just search. Find. Chec

Re: how to chang lucene's default sort algorithm?

2005-05-23 Thread luqun lou
From: Daniel Naber <[EMAIL PROTECTED]> Reply-To: java-user@lucene.apache.org To: java-user@lucene.apache.org Subject: Re: how to chang lucene's default sort algorithm? Date: Mon, 23 May 2005 19:33:40 +0200 On Monday 23 May 2005 15:30, luqun lou wrote: >         I am a beginne