lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis <reneonta...@gmail.com>
Subject Re: Extracting excerpt from solr
Date Wed, 20 Mar 2013 15:20:53 GMT
Nevermind, I found a solution.  I created an excerpt field in the schema.xml,
then I used the copyField method with the maxChars parameter declared to
copy the content into it with a limitation of the amount of characters that
I wanted. <copyField source="text" dest="excerpt" maxChars="255" />

Thanks anyways.



--
View this message in context: http://lucene.472066.n3.nabble.com/Extracting-excerpt-from-solr-tp4049067p4049358.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message