lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gonzalo Payo Navarro <gpa...@gmail.com>
Subject Re: Is there a SubstringTransformer?
Date Tue, 24 Aug 2010 16:35:24 GMT
Oh my God! That's awesome!

Thank you guys

2010/8/24 Ahmet Arslan <iorixxx@yahoo.com>:
>
>> 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