Re: Aliases for fields

2009-08-18 Thread Fergus McMenemie
>What could possibly be a use case for such a need? > I would love to see such a feature. I have a multi core solr setup with each core having utterly different content. Each core has its own "custom search app" that exploits nuances specific to a particular data set. The fieldnames are chosen a

Re: Aliases for fields

2009-08-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
2009/8/18 Licinio Fernández Maurelo : > Hello everybody, > > can i set an alias for a field? Something like : > > stored="true" multiValued="false" termVectors="false" > alias="source.date"/> > > is there any jira issue related? yes https://issues.apache.org/jira/browse/SOLR-1205 > > Thx > > -- >

Re: Aliases for fields

2009-08-18 Thread Licinio Fernández Maurelo
Our purpose is to reuse the data stored in our indexes serving it to multiple format clients (xml, php, json) directly (no mapper tier wanted). As clients model entities names doesn't match index field names, we want to use alias in some way to adapt the response for the client. Taking a look a

Re: Aliases for fields

2009-08-18 Thread Avlesh Singh
> > 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

Re: Aliases for fields

2009-08-18 Thread Licinio Fernández Maurelo
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 implem

Re: Aliases for fields

2009-08-18 Thread Avlesh Singh
What could possibly be a use case for such a need? Cheers Avlesh 2009/8/18 Licinio Fernández Maurelo > Hello everybody, > > can i set an alias for a field? Something like : > > stored="true" multiValued="false" termVectors="false" > alias="source.date"/> > > is there any jira issue related? >

Aliases for fields

2009-08-18 Thread Licinio Fernández Maurelo
Hello everybody, can i set an alias for a field? Something like : is there any jira issue related? Thx -- Lici