Re: How to boost a document based on a field in the document

2007-09-05 Thread Adam Ruggles
Doh... Thanks. Erick Erickson wrote: > > I think you misunderstand. The buckets are NOT the votes, > they are the relevance scores from the search. So your > search returns relevance scores (raw) from, say 1 - 100. > You could collect the results in 5 buckets and sort > by vote *within* the bu

Re: How to boost a document based on a field in the document

2007-09-05 Thread Erick Erickson
I think you misunderstand. The buckets are NOT the votes, they are the relevance scores from the search. So your search returns relevance scores (raw) from, say 1 - 100. You could collect the results in 5 buckets and sort by vote *within* the bucket. So the user still sees the most relevant documen

Re: How to boost a document based on a field in the document

2007-09-05 Thread Adam Ruggles
Well a sort would remove the relevance portion of the query, which I really don't want to do. I tried using the ValueSourceQuery but it doesn't seem to be able to handle negative vote values. Buckets sound interesting but since there is no max voting value it would be difficult to build the max

Re: How to boost a document based on a field in the document

2007-09-05 Thread Erick Erickson
What would happen if you sorted by vote? Perhaps within ranges of scores? There's a thread in the list in response to a post I made about "buckets" that might be relevant Otherwise, you might think about boosting the relevant parts of the document at *index* time based on the value of vote