You could use the MappingUpdateProcessor for this, doing the mapping through a simple synonyms-like config file at index time, indexing the description in a String field. https://issues.apache.org/jira/browse/SOLR-2151
Or you could make a SearchComponent plugin doing the same thing "live" at query time? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 15. mars 2012, at 08:13, tosenthu wrote: > Hi > > I have a scenario, where I store a field which is an Id, > > ID field > ------ > 1 > 3 > 4 > > Descrption mapping > ------------------- > 1 = "Options 1" > 2 = "Options A" > 3 = "Options 3" > 4 = "Options 4a" > > Is there a way in solr when ever i query this field should return me the > description instead of the id. And help me with the procedure to setup solr > to do this.. > > Regards > Senthil Kumar M R > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Field-Value-Substitution-tp3828028p3828028.html > Sent from the Solr - User mailing list archive at Nabble.com.