jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject more on scores
Date Fri, 16 Feb 2007 10:31:55 GMT
This is the "okm:resource" definition:

	[okm:resource] > nt:resource, mix:versionable
	- okm:size (long) mandatory
	- okm:author (string) mandatory

This two queries returns the same results in the same order but the
scores are higher in the second:

	//element(*,nt:resource)/@jcr:path[jcr:contains(.,'apache')] order by
@jcr:score descending

	//element(*,okm:resource)/@jcr:path[jcr:contains(.,'apache')] order by
@jcr:score descending

Why the scores are not equel if they refers to the same indexed data?

-- 
GIT Consultors S.L.
c\ Francesc Rover 2-B
07003 Palma de Mallorca
(Illes Balears)


Mime
View raw message