lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Query regarding Solr search options..
Date Wed, 24 Jun 2009 03:09:43 GMT

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 <silentsurfer77@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


Mime
View raw message