On Tue 2014-03-25  2:51, Hardy Ferentschik wrote:
> > @@ -56,6 +57,7 @@ private DocumentFieldMetadata(Builder builder) {
> >  		this.boost = builder.boost;
> >  		this.analyzer = builder.analyzer;
> >  		this.isId = builder.isId;
> > +		this.isIdInEmbedded = builder.isIdInEmbedded;
> 
> Is that really needed? I feel that is polluting the model. A field itself should really not care whether it is embedded or not.

Yes it is.
I need to exclude ids as they don't make sense in a MoreLikeThis query
when we take all compatible fields.
It would artificially smash the score down for other entities.