My trick would be to replace .net with dotNet (or use some funky Unicode-letter to replace the dot). If you use consistently the same analyzer-chain, then it will match cleanly.
paul On 6 nov. 2014, at 12:42, Rajendra Rao <rajendra....@launchship.com> wrote: > I have some word which contain full stop (.) itself ,example is > (1) .Net , asp.net .i want lucene consider it as a single word not full > stop . > how to achieve it. > > > another problem is some word contain specific format > like c# .lucene not searching this type of word. > > if word contain number, like sql server 2008 .it is ignoring 2008 here.