How exactly do I define these external keyfields?For example, I have a document 
in monitor.xml, and I want to define another field, lets say score1, to be used 
in FunctionQueries.From what I got from the documentation, I have to define a 
file called external_score1 in the index directory. In that, I will write 
monitor = value, where value is whatever value I want this field to have. Do I 
have to edit this external file everytime I want to change the score? Or is 
there a way using GET or CURL?
And after editing , should I execute post.jar everytime?I'm not really sure 
where these files (data files - the .xml files) will be stored. Right now I'm 
just using the example directory in the apachesolr download.(Sorry if these 
questions seem too noobish!)

> Date: Wed, 11 May 2011 00:33:26 -0700
> From: iori...@yahoo.com
> Subject: RE: Boosting score of a document without deleting and adding another 
> document
> To: solr-user@lucene.apache.org
> 
> 
> 
> > Is the keyField over here the same thing as the "score" of
> > the field?
> 
> It is not the same as score (it is an independent additional field) but you 
> use this field in FunctionQueries which means you can influence (multiply, 
> add, etc) score with it, or sort by it.
> 
> http://wiki.apache.org/solr/FunctionQuery
                                          

Reply via email to