>
> solr bean tags didn't fully acomplish this issue in our project due to
> model complexity
>
Did you try annotating your pojo in this manner?
@Field("index_field_name)
pojoPropertyName;

It will be nice to set an alias for some fields to match the pojo.property
> name. Don't know if there is an alternative (maybe copyfield?) to implement
> this beahaviour
>
Though I am not sure what you want to achieve, yet a copyField is very
similar to what you are asking for.

Cheers
Avlesh

2009/8/18 Licinio Fernández Maurelo <licinio.fernan...@gmail.com>

> Currently we are trying to unmarshall objets from the index (solr bean
> tags didn't fully acomplish this issue in our project due to model
> complexity).
> It will be nice to set an alias for some fields to match the pojo.property
> name.
> Don't know if there is an alternative (maybe copyfield?)  to implement
> this beahaviour
>
> thanks
>
> 2009/8/18 Avlesh Singh <avl...@gmail.com>:
> > What could possibly be a use case for such a need?
> >
> > Cheers
> > Avlesh
> >
> > 2009/8/18 Licinio Fernández Maurelo <licinio.fernan...@gmail.com>
> >
> >> Hello everybody,
> >>
> >> can i set an alias for a field? Something like :
> >>
> >> <field name="sourceDate" type="uniqueIdType" indexed="true"
> >> stored="true" multiValued="false" termVectors="false"
> >> alias="source.date"/>
> >>
> >> is there any jira issue related?
> >>
> >> Thx
> >>
> >> --
> >> Lici
> >>
> >
>
>
>
> --
> Lici
>

Reply via email to