lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Scoring documents by Click Count
Date Thu, 06 May 2004 10:58:38 GMT
Sure.
On click, get document Id (not internal docId, but something you use as
s surrogate primary key) of the clicked document.  Retrieve the
document.  Pull out the value of 'clickCount' field.  +1 it.  Delete
the document, and re-add it (there is no 'update(Document)' method).

Otis


--- Centaur zeus <perseus_medusa@hotmail.com> wrote:
> Hi all,
> 
> I want to integrate lucene into my web app. I would like to increase
> the 
> score of the document when more people click on it. Could I implement
> that 
> in lucene ?
> 
> Thanks.
> 
> Perseus
> 
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message