The main question then is whether the full
"cpe:/o:freebsd:freebsd:2.2.5" string needs to be stored in Solr.

If the desire is to actually strip that prefix all together and never
see it in Solr document, then Jack's suggestion is spot on. If it is
to store as is but to index based on custom tokenization rules, then
it needs to be done after DIH in the field's analyzer chain.

Good news, either way should be doable.

Regards,
   Alex.

----
Sign up for my Solr resources newsletter at http://www.solr-start.com/


On 24 January 2015 at 16:21, Carl Roberts <carl.roberts.zap...@gmail.com> wrote:
> Thanks Jack.
>
>
> On 1/24/15, 3:57 PM, Jack Krupansky wrote:
>>
>> Take a look at the RegexTransformer. Or,in some cases your may need to use
>> the raw ScriptTransformer.
>>

Reply via email to