Hi all,

I need to implement a summary function with solr like there is in nutch.
Basically it returns x words before and after the query term to show the
content where the term is embedded (like as google does).

In nutch this functionality is provided by 
http://svn.apache.org/viewvc/lucene/nutch/trunk/src/plugin/summary-basic/
and especially 
http://svn.apache.org/viewvc/lucene/nutch/trunk/src/plugin/summary-basic/src/java/org/apache/nutch/summary/basic/BasicSummarizer.java?view=markup

There is another similar plugin/class in
http://svn.apache.org/viewvc/lucene/nutch/trunk/src/plugin/summary-lucene/

Is there something similar in solr?

If not which is the best way to implement this functionality?

TIA for any tips.

salu2

Reply via email to