On Fri, Jun 1, 2012 at 11:39 AM, Markus Jelsma
<markus.jel...@openindex.io> wrote:
> Hi!
>
>
> Ah, it makes sense now! This global configured similarity knows returns a 
> fieldType defined similarity if available and if not the standard Lucene 
> similarity. This would, i assume, mean that the two defined similarities 
> below without per fieldType declared similarities would always yield the same 
> results?

Not true: note that two methods (coord and querynorm) are not perfield
but global across the entire query tree.

By default these are disabled in the wrapper, as they only skew or
confuse most modern scoring algorithms (eg all the new ranking
algorithms in lucene 4) respectively.

So if you want to do per-field scoring where *all* of your sims are
vector-space, it could make sense to customize (e.g. subclass)
SchemaSimilarityFactory and do something useful for these methods.


-- 
lucidimagination.com

Reply via email to