On Mon, Mar 15, 2010 at 2:53 PM, Michael Kuhlmann <
michael.kuhlm...@zalando.de> wrote:

> On 03/15/10 08:56, Shalin Shekhar Mangar wrote:
> > On Mon, Mar 15, 2010 at 2:12 AM, blargy <zman...@hotmail.com> wrote:
> >
> >>
> >> How would I go about splitting a column by a certain delimiter AND
> ignore
> >> all
> >> empty matches.
> [...]
> > You will probably have to write a custom Transformer to remove empty
> values.
> > See http://wiki.apache.org/solr/DIHCustomTransformer
> >
> Shouldn't a PatternTokenizerFactory combined with a LengthFilterFactory
> do the job?
>
> See http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters.
>
>
Yes but only on the indexed values. Empty values will still be stored and
returned in the response unless you stop them from reaching the indexing
chain.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to