Weighting different meta class field

Hi everyone,

 

Just wondering if it is possible to weight meta class fields?

 

For example, I've got the following meta class mapping. LastName, Biography and Citation of an author for example.

PADRE XML Mapping Version: 2
L,1,,//LastName
B,1,,//Biography
C,1,,//Citation

I want it so that when user search for a keyword let's say "Smith", then the search result will rank entries with LastName = "Smith" higher than entries with Biography = "Smith" and Citation = "Smith".

 

So the priority of ranking in search result will be LastName > Biography > Citation?
I hope I'm making sense here.

 

Thanks in advance,

jebio

Hi jebio -  
The Query Processor Options - Ranking Section gives a small amount of detail on how to do this:
 

wmeta.C=F Set upweighting factors for metadata class scoring. C - metadata class; F - weight to set. (dflt 0.5 for 'k' and 'K', 1 for everything else).


Assuming your xml.cfg configuration below, you'd probably want to experiment with the following in your collection.cfg:

query_processor_options=-wmeta.L=1.0 -wmeta.B=0.3 -wmeta.C=0.1