On Mon, Apr 6, 2009 at 1:52 PM, Veselin K <vese...@campbell-lange.net>wrote:
> > I'd like to copy the "text" field to a field called "preview" and > then limit the "preview" field to just a few lines of text (or number of > terms). > > Then I could configure retrieving the "preview" field instead of "text" > upon search. > > Is there a way to specify such size limits per field or something similar? > > Yes, there is a maxLength attribute for a copyField which you can use: <copyField source="text" dest="highlight" maxLength="30000" /> -- Regards, Shalin Shekhar Mangar.