Nick Vincent [mailto:[EMAIL PROTECTED] wrote:
[snip] > From an earlier thread discussing a calculated score based on the hit > score and the age of document I gather that TSS regenerate their indexes > to alter the document boost based on date. I need to be able to sort by > either relevance or "popularity rated relevance" depending on user > input, so I don't think adding a precalculated document boost at index > time is an option. The easiest way I can think of would be to build two indexes - one with popularity boosted documents and one without, and search the one you want. Alternatively, if you have to have a single index, you could add each document twice, once with no boost, and once with "popularity" boost, and specify a keyword field for each document defining whether it's boosted or not. Then, when you want to search, restrict results to documents where the keyword is "boosted" or "notboosted" respectively. Both fairly low tech solutions, but I'm lazy like that! Cheers, Tim. ******************************************************************************** The information contained in this email message may be confidential. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. Although this message and any attachments are believed to be free of viruses, no responsibility is accepted by Informa for any loss or damage arising in any way from receipt or use thereof. Messages to and from the company are monitored for operational reasons and in accordance with lawful business practices. If you have received this message in error, please notify us by return and delete the message and any attachments. Further enquiries/returns can be sent to [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]