You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Furkan KAMACI <fu...@gmail.com> on 2013/04/26 17:21:13 UTC
excluding something from copyfield source?
Hi;
I use that:
<copyField source="*" dest="text"/>
however I want to exclude something i.e. author field. How can I do that?
Re: excluding something from copyfield source?
Posted by Furkan KAMACI <fu...@gmail.com>.
Thanks, I used uprefix and solved my problem.
2013/4/26 Gora Mohanty <go...@mimirtech.com>
> On 26 April 2013 20:51, Furkan KAMACI <fu...@gmail.com> wrote:
> > Hi;
> >
> > I use that:
> >
> > <copyField source="*" dest="text"/>
> >
> > however I want to exclude something i.e. author field. How can I do that?
>
> Instead of using *, use separate copyField directives for the
> fields that you want copied. You can use more restrictive globs
> also, e.g.,
> <copyField source="*_txt" dest="text"/>
>
> Regards,
> Gora
>
Re: excluding something from copyfield source?
Posted by Gora Mohanty <go...@mimirtech.com>.
On 26 April 2013 20:51, Furkan KAMACI <fu...@gmail.com> wrote:
> Hi;
>
> I use that:
>
> <copyField source="*" dest="text"/>
>
> however I want to exclude something i.e. author field. How can I do that?
Instead of using *, use separate copyField directives for the
fields that you want copied. You can use more restrictive globs
also, e.g.,
<copyField source="*_txt" dest="text"/>
Regards,
Gora