lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Wellnhofer <>
Subject Re: [lucy-user] Does multivalued field support exist in Lucy?
Date Fri, 11 Nov 2016 19:03:39 GMT
On 11/11/2016 19:46, Serkan Mulayim wrote:
> I was referring to C library not Perl, sorry for not putting it on my
> question.
> Peter, regarding the multivalue fields, it seems like I, for sure, need to
> create Whitespace tokenizer based on RegexTokenizer, can you or someone
> please confirm? This would create the dependency for the PCRE.  In order to
> make it I will need PCRE to be built as static library and linked with lucy
> and my code then.

You can write a custom Analyzer that simply splits on a predefined character. 
Have a look at this thread for how to do this in C:

Or here with proper indentation:


View raw message