How about adding a new paramer to Similarity.scorePayload( ) ?

2008-06-24 Thread wuqi
Hi, I want to customize a new Similarity class which need to adopt payload information.The current definition of scorePayload is below: "public float scorePayload(String fieldName, byte [] payload, int offset, int length)" I have a problem when using this function.In case we have two Boostin

Re: Problems about using Lucene to generate tag cloud..

2008-04-06 Thread wuqi
Very useful.. Thank you! - Original Message - From: "John Wang" <[EMAIL PROTECTED]> To: Sent: Saturday, April 05, 2008 8:35 AM Subject: Re: Problems about using Lucene to generate tag cloud.. check out http://www.browseengine.com tag cloud impl on lucene is avail. -John On Wed, Apr 2

Re: How to reconstruct field value from index ?

2008-04-02 Thread wuqi
t; <[EMAIL PROTECTED]> To: Sent: Wednesday, April 02, 2008 10:14 PM Subject: Re: How to reconstruct field value from index ? > wuqi skrev: >> Hi, >> >> I want to reconstruct the field value from index, just the same as the >> function "Reconstruct and

How to reconstruct field value from index ?

2008-04-02 Thread wuqi
Hi, I want to reconstruct the field value from index, just the same as the function "Reconstruct and Edit" in the tool "Luke" . Just any hints is OK. Thanks in advance. Thanks -qi

Re: Problems about using Lucene to generate tag cloud..

2008-04-01 Thread wuqi
01, 2008 8:30 PM Subject: RE: Problems about using Lucene to generate tag cloud.. On www.crossfeeds.com, I use this method in order to update hourly a tag cloud based on the title of 20.000 RSS articles (RSS published during the last 24 hours). It takes 1 minute. -Message d'origine- De

Re: Problems about using Lucene to generate tag cloud..

2008-04-01 Thread wuqi
.term().text(); int freq = terms.docFreq(); } terms.close(); reader.close(); -Message d'origine- De : wuqi [mailto:[EMAIL PROTECTED] Envoyé : lundi 31 mars 2008 09:07 À : java-user@lucene.apache.org Objet : Problems about using Lucene to generate tag cloud.

Problems about using Lucene to generate tag cloud..

2008-03-31 Thread wuqi
Hi, I am trying to use Lucene index to implement a tag cloud system. I add a new field named "tags" in index to store all the tags,and we don't support tags with more than one word, so different tags of the same document just are separate by white space. The "tags" filed in one document may

Problems about using Lucene to generate tag cloud..

2008-03-31 Thread wuqi
Hi, I am trying to use Lucene index to implement a tag cloud system. I add a new field named "tags" in index to store all the tags,and we don't support tags with more than one word, so different tags of the same document just are separate by white space. The "tags" filed in one document may