lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Is there a SubstringTransformer?
Date Tue, 24 Aug 2010 08:00:49 GMT

> I need to get the first 100 chars of a string-type field,
> but I am not
> able to find something like a SubstringTransformer,
> therefore I am
> using the RegexTransformer, but I suspect that it eats a
> lot of time
> on indexation time.
> 
> So, in short, I need something like a SubstringTransformer:
> Is there
> something like that?

I do it with copyField declaration.  
<copyField source="text" dest="textShort" maxChars="100"/>


      

Mime
View raw message