Tiernan, I don't think you can do it through any Solr configs, though I imagine you could do it with a custom Token Filter that keeps track of the context.
Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ >________________________________ >From: Tiernan OToole <lsmart...@gmail.com> >To: solr-user@lucene.apache.org >Sent: Friday, November 11, 2011 5:09 AM >Subject: getting solr to expand Acronym > >Dont know if this is posible, but i need to ask anyway... Say we have a >list of Acronyms in a database (CD, DVD, CPU) and also a list of their not >so short names (Compact Disk, Digital Versitile Disk, Central Processing >Unit) but they are not linked in any particular way (lost of items, some >with full names, some using anronyms), is it posible for Solr to figure out >CD is an Acronym of Compact Disk? I know CD could also mean Central Data, >or anything that beings with C and D, but is there a way to tell solr to >look for items that not only match CD, but have words next to each other >that begin with C and D... Another example i can think of is IBM: It could >be International Business Machines, or Irish Business Machines, or Irish >Banking Machines... > >So, would that be posible? > >-- >Tiernan O'Toole >blog.lotas-smartman.net >www.geekphotographer.com >www.tiernanotoole.ie > > >