Re: Sorting VS Scoring

2008-04-02 Thread Erick Erickson
; From: Erick Erickson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2008 11:12 AM > To: java-user@lucene.apache.org > Subject: Re: Sorting VS Scoring > > The problem here is that you'll have to keep deleting and > adding your documents in order to update the counter field

RE: Sorting VS Scoring

2008-04-02 Thread John Xiao
apache.org Subject: Re: Sorting VS Scoring The problem here is that you'll have to keep deleting and adding your documents in order to update the counter field for all of these solutions, and I doubt that's what you really want to do. There is much discussion of updating a document that&#x

Re: Sorting VS Scoring

2008-04-02 Thread Erick Erickson
The problem here is that you'll have to keep deleting and adding your documents in order to update the counter field for all of these solutions, and I doubt that's what you really want to do. There is much discussion of updating a document that's already in the index, but I don't think it's there y

Sorting VS Scoring

2008-04-02 Thread John Xiao
I'm trying to figure out what the best practice is in term of using sorting or customized scoring. For example, if I have want to index some static pages and rank them by how many times a page is viewed. I can get the page view counters and store them in the index document as a field COUNTER. I