--- On Mon, 9/17/12, Spadez <james_will...@hotmail.com> wrote:
> From: Spadez <james_will...@hotmail.com> > Subject: Re: Taking a full text, then truncate and duplicate with stopwords > To: solr-user@lucene.apache.org > Date: Monday, September 17, 2012, 5:32 PM > In an attempt to answer my own > question, is this a good solution. > > Before I was thinking of importing my fulltext description > once, then > sorting it into two seperate fields in solr, one truncated, > one keyword. > > How about instead actually importing my fulltext description > twice. Then I > can import it first into truncated_description and then > again into > keyword_description. Have you used copyField? <copyField source="keyword_description" dest="truncated_description" maxChars="3000"/> <field name="truncated_description" indexed="false" stored="true"> <field name="keyword_description" indexed="true" stored="false">