Include synonyms in solr without using synonyms.txt
===

I am using Drupal Apache Solr for my searches. in this I found a synonyms.text file in which you can include synonyms manually for the words u want.

But as I suppose it would be very hard to include synonyms manually for each word as my application has large data.

What I want to achieve is as following in my search results:

>when the user will search for allu in place of potato, we will display potato as 1st result.

>Another example: when user will search for 'raw apple' then we'll display 'apple' as 1st record because 'raw apple' is synonym of 'apple'.

But the problem is 100K records and each record has 4-5 synonyms. Entering them manually is not possible.

Another issue is If I want to make changes to synonyms of particular record I will have to do it manually which is time consuming as well.

I want to know is there any other option so that I need not to enter synonyms manually?