Hi, It sounds like highlighting might be the solution for you. See http://wiki.apache.org/solr/HighlightingParameters
*Juan* On Mon, Dec 12, 2011 at 4:42 AM, ayyappan <ayyaba...@gmail.com> wrote: > I am developing n application which indexes whole pdfs and other documents > to solr. I have completed a working version of my application. But there > are > some problems. The main one is that when I do a search the indexed whole > document is shown. I have used solrj and need some help to reduce this > content. > > How limiting the content of content field in search results and display > over there . > > i need like this > > > > *Grammer1.docx* > Blazing – burring Faceted Cluster – to gather Geospatial Replication > – > coping Distinguish – apart from Flawlessly – perfectly Recipe –method > Concentrated inscription > Last Modified : 2011-12-11T14:42:27Z > > *who.pdf* > Who We Are Table of contents 1 Solr Committers (in alphabetical > order)fgfgfgfg2 2 Inactive Committers (in alphabetical orde > > *version_control.pdf* > Solr Version Control System Table of contents 1 Overview.gfgfgfg 2 Web Acce > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/limiting-the-content-of-content-field-in-search-results-tp3578859p3578859.html > Sent from the Solr - User mailing list archive at Nabble.com. >