This has to be done by an UpdateRequestProcessor http://wiki.apache.org/solr/UpdateRequestProcessor
On Tue, Sep 8, 2009 at 3:34 PM, Villemos, Gert <gert.ville...@logica.com>wrote: > I would like to build the value of a field based on the value of multiple > other fields at submission time. I.e. I would like to submit a document such > as; > > <field name="field1">foo</field> > <field name="field2">baa</field> > > And would like SOLR to store the document as > > <field name="field1">foo</field> > <field name="field2">baa</field> > <field name="aggregated">foo:baa</field> > > Just to complicate matters I would like the aggregated field to be the > unique key. > > Is this possible? > > Thanks, > Gert. > > > Please help Logica to respect the environment by not printing this email / > Pour contribuer comme Logica au respect de l'environnement, merci de ne pas > imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen > Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a > respeitar o ambiente nao imprimindo este correio electronico. > > > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. > > -- Lance Norskog goks...@gmail.com