Hello,

Not quite "lines", but look at the various Highlighter options on the Wiki and 
in the example solrconfig.xml.


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Silent Surfer <silentsurfe...@yahoo.com>
> To: Solr User <solr-user@lucene.apache.org>
> Sent: Tuesday, June 23, 2009 11:04:53 PM
> Subject: Query regarding Solr search options..
> 
> 
> Hi,
> 
> Can Solr search be customized to provide N number of lines before and after 
> the 
> line that contains matches the keyword.
> 
> For eg: Suppose i have a document with 10 lines, and 5th line contains the 
> key 
> word 'X' I am interested in. Now if I am fire a Solr search for the keyword 
> 'X'. 
> Is there any preference/option available in Solr, which can be set so the 
> search 
> results contains only the 3 lines above and 3 lines after the line where the 
> Keyword match successfully.
> 
> Thanks,
> Silent Surfer

Reply via email to