Hmmm, this doesn't really make any sense from a Solr
perspective. You should never get the stemmed  version
back in search results, you should get the stored version,
which has no analysis applied.

Likewise, copyField doesn't copy the analyzed tokens, it
copies the raw input to the dest field.

This seems to imply that somehow (and how I have no clue)
your original input is in this form but that seems silly as well. Is
there any way you can monitor your original input to Solr to see
whether it's actually in this form?


Best
Erick

On Mon, Jul 9, 2012 at 10:59 AM, Marco Scalone <marco.scal...@imm.gub.uy> wrote:
> Hello, ,
>     I'm new in this list and have been using solr for many months and I'm
> trying to install and use wide along in the organization. But doing some
> test I realise a problem in the result snippet it generates.
>
> When I make a search the result snippet shows a "stemmed" version of the
> title repeated times. made the search from apache admin query page and
> realise that the body was full of this strings. You will understand with
> this example:
>
> ---------------------------------------------------------------------------
> <str name="title">Contralor de la Edificación</str>
> <str name="body">
> 4110
> Espacios Públicos Habitat y Edificaciones
> SERVICIO
> Otorgamiento de permisos de construcción, de locales industriales y
> comerciales. Recepción de denuncias de obras sin permiso. Coordinación con
> Bomberos sobre temas de seguridad edilicia.Visite nuestra página:
> www.montevideo.gub.uy/ciudadania/contralor-de-la-edificacion
> Interna
>
> (contralor edif, contralor edif, contralor edif, contralor edif, contralor
> edif, contralor edif, contralor edif, contralor edif, contralor edif,
> contralor edificacion, contralor edif, contralor edificacion, contralor
> edif, contralor edif, contralor edif, contralor edif, contralor edif,
> contralor edif, contralor edif, contralor edif, contralor edif, contralor
> edif, contralor edif, contralor edif, contralor edif, contralor edif,
> contralor edif, contralor edif, contralor edificacion, contralor edif,
> contralor edificacion, contralor edif, contralor edificacion, contralor
> edificacion, contralor edif, contralor edif, contralor edif, contralor edif,
> contralor edif, contralor edif, contralor edif, contralor edif, contralor
> edif, contralor edif, contralor edif, contralor edif, contralor edif,
> contralor edif, contralor edif, contralor edif, contralor edif, contralor
> edif, contralor edif, contralor edif, contralor edif)
> </str>
> ---------------------------------------------------------------------------------------------
>
> As you can see the last part of the body has de steemed version of the title
> meny times, the same happens with the spell (because its a copy), the
> problems is that this is visible in the results and highlighted.
>
> Need help because dont know why this is happening seems to be somthing
> automatic in solr, maybe some configuration.
> Using Drupal 6 with standard modules, I'm attaching config files
>
> Thanks a lot
> Marco
>
> --
> Ing. Marco Scalone
> División Tecnología de la Información
> Intendencia de Montevideo
> Tel.: 1950 int. 4426
>

Reply via email to