lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karl wettin <ka...@snigel.net>
Subject Re: sitegeist
Date Fri, 26 May 2006 23:17:51 GMT
I did it like below, but used the lucene score instead.

Will report back with results in a month or so.

On Thu, 2006-05-25 at 11:51 +0200, karl wettin wrote:
> Did anyone write some neat tool for statistical analysis of hits over
> time? I need one. And it must be fast. Was thinking something like this:
> 
> List<TimeFrame> timeFrames;
> 
> class TimeFrame {
>   Date from;
>   Date to;
> 
>   void add(Hits hits) {
>     int score = 10;
>     for (int d = 0; score<0 && d<hits.length(); d++) {          
>       increaseScore(it.next(), score);
>       score--;
>     } 
> 
>     // I would then apply similar scoring on most top classifications
>     // (categories or what not) in the hits.
>   }  
> }
> 
> 
> But I only work the hits. Perhaps I should work the queries too?
> 
> Any great ideas?
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 


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


Mime
View raw message