Hi Satya, I think what you'e looking for is called "highlighting" in the sense of "highlighting" the query terms in their matching context.
You could start by googling "solr highlight", surely the first results will make sense. Solr's wiki results are usually a good entry point : http://wiki.apache.org/solr/HighlightingParameters . Maybe I misunderstood your question, but I hope that'll help... Regards, Tanguy 2010/12/14 satya swaroop <satya.yada...@gmail.com>: > Hi All, > Can we get the results like google having some data about the > search... I was able to get the data that is the first 300 characters of a > file, but it is not helpful for me, can i be get the data that is having the > first found key in that file.... > > Regards, > Satya >