Solr:导入带有多行字段的制表符分隔文件

Solr: import tab delimited file with multilines field

我有一个制表符分隔的文件,该文件的其中一个字段具有多行自由文本值,用引号引起来,如示例行:

10,john,"this is 
an example of
multiline value...",30,house,10

我正在使用这一行在 Solr 4.4 中导入此类文件:

curl 'http://localhost:8983/solr/update/csv?commit=true&separator=%09&escape=\&stream.file=/path/myfile.tsv'

但它失败了,因为它无法识别多行字段,因此无法继续导入过程。

我怎样才能使导入工作?

正如 Matt Pearce 所建议的那样,添加 &encapsulator=" 可以解决问题。