Hello Amon, what is the problem if every hit should have an equal score, to just assign score '1' to every hit? I suppose, you are only interested in *if* a document is a hit, or not. 0 or 1. Then just do not sort, and give score 1.
Otherwise you'll end up needing some adjustments to the repository core -Ard > Beste Hippos, > > In the where clause of the dasl I only check for h:type. I > want the score to be equal for every hit. In the current > situation it isn't. The relevant dasl part is <d:and> > <d:or> <d:eq> > <d:prop><h:type/></d:prop> > <d:literal>product</d:literal> </d:eq> <d:eq> > <d:prop><h:type/></d:prop> > <d:literal>subsidie</d:literal> </d:eq> </d:or> > </d:and> How can i achieve this (using the > ConstantScoreQuery!!??)? and where do i start? > > > Thanks in advance, > Amon > > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today > it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01 > /******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist
