Re: boosting instead of sorting WAS: to boost or not to boost

2006-12-26 Thread Andrzej Bialecki
Suman Ghosh wrote: Andrzej, I have been trying to solve a similar problem where I need to boost score based on the document type. Your approach is very interesting and I want to give it a try. I have a implementation specific question. When you mention to put as many "1" as the boost need to be

Re: boosting instead of sorting WAS: to boost or not to boost

2006-12-25 Thread Suman Ghosh
Andrzej, I have been trying to solve a similar problem where I need to boost score based on the document type. Your approach is very interesting and I want to give it a try. I have a implementation specific question. When you mention to put as many "1" as the boost need to be, do you mean that t

Re: boosting instead of sorting WAS: to boost or not to boost

2006-12-21 Thread Daniel Naber
On Thursday 21 December 2006 10:55, Martin Braun wrote: > and in my case I have some documents > which have same values in many fields (=>same score) and the only > difference is the year. Andrzej's response sounds like a good solution, so just for completeness: you can sort by more than one cri

Re: boosting instead of sorting WAS: to boost or not to boost

2006-12-21 Thread Andrzej Bialecki
Martin Braun wrote: Hi Daniel, so a doc from 1973 should get a boost of 1.1973 and a doc of 1975 should get a boost of 1.1975 . The boost is stored with a limited resolution. Try boosting one doc by 10, the other one by 20 or something like that. You're right. I thought that w

boosting instead of sorting WAS: to boost or not to boost

2006-12-21 Thread Martin Braun
Hi Daniel, >> so a doc from 1973 should get a boost of 1.1973 and a doc of 1975 should >> get a boost of 1.1975 . > > The boost is stored with a limited resolution. Try boosting one doc by 10, > the other one by 20 or something like that. You're right. I thought that with the float values the r

Re: to boost or not to boost

2006-12-20 Thread Daniel Naber
On Wednesday 20 December 2006 17:32, Martin Braun wrote: > so a doc from 1973 should get a boost of 1.1973 and a doc of 1975 should > get a boost of 1.1975 . The boost is stored with a limited resolution. Try boosting one doc by 10, the other one by 20 or something like that. Regards Daniel -

to boost or not to boost

2006-12-20 Thread Martin Braun
Hello all, I am trying to boost more recent Docs, i.e. Docs with a greater year Value like this: if (title.getEJ() != null) { titleDocument.setBoost(new Float("1." + title.getEJ())); } so a doc from 1973 should get a boost of 1.1973 and a do