On Tue, 24 Jun 2008 16:34:44 +0100 Dave Searle <[EMAIL PROTECTED]> wrote:
> I am currently storing the thread id within the message index, however, > although this would allow me to sort, it doesn't help with the grouping of > threads based on relevancy. See the idea is to index message data in the > thread documents and then boost the message mutlivalued field over the thread > title and thread description (which in my opinion, would give better results). > > The user, when presented with the thread results, could then drill down into > a particular thread's messages using the same search terms on the message > index (but filtered by the referring thread id) It is very very likely that I am just quite late and I'm tired ...but I think the approach of having one document per forum message would allow you to implement what you want... and, otoh, not too sure the multivalued field would work as well. ie, store the link to the start of the thread and thread subject in all docs, as well as store link to post and text of post (and thread id, etc, as needed). boost the content of the posting over the subject. (but I have a feeling this may not be what you have in mind when you say "grouping of threads based on relevancy" .. is it? ) B _________________________ {Beto|Norberto|Numard} Meijome "I didn't attend the funeral, but I sent a nice letter saying I approved of it." Mark Twain I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.