no, its turned on by default in the default similarity.

as i said, all that is necessary is to fix your analyzer to emit the
proper position increments.

On Mon, Dec 9, 2013 at 12:27 PM, Manuel Le Normand
<manuel.lenorm...@gmail.com> wrote:
> In order to set discountOverlaps to true you must have added the
> <similarity class="solr.DefaultSimilarityFactory"> to the schema.xml, which
> is commented out by default!
>
> As by default this param is false, the above situation is expected with
> correct positioning, as said.
>
> In order to fix the field norms you'd have to reindex with the similarity
> class which initializes the param to true.
>
> Cheers,
> Manu

Reply via email to