On Jan 8, 2008 10:32 AM, Michael Lackhoff <[EMAIL PROTECTED]> wrote:
> On 08.01.2008 16:11 Yonik Seeley wrote:
>
> > Ahh, wait, it looks a single quote as the encapsulator for split field
> > values by default.
> > Try adding f.PUBLPLACE.encapsulator=%00
> > to disable the encapsulation.
>
> Hmm. Yes, this works but:
> - I didn't find anything about it in the docs (wiki). On the contrary
>    it suggests that the single quote has to be explicitly set:
>    f.tags.encapsulator='

Right... I just changed the code to match the docs.

> (http://wiki.apache.org/solr/UpdateCSV?#head-c238cb494f800d345766acda16e08d82663127ce)
> - A literal encapsulator should be possible to add by doubling
>    it ' => '' but this gives the same error

I think you would have to tripple it (the first is the encapsulator).
Regardless, don't use encapsulation on the split fields unless you
have to.

> - is it possible to change the split field separator for all fields? The
>    URL is getting rather long already.

if "f.myfield.separator" is missing, it uses "separator"  (standard
per-field parameters).
So if everything uses "," you don't have to specify a separator anywhere.

-Yonik

Reply via email to