Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Sth wrong with Bulk when build index action with String-type source #62

Closed
Weijianlin opened this issue Aug 9, 2013 · 1 comment
Closed

Comments

@Weijianlin
Copy link

when build index action with String-type source, function generateBulkPayload of Bulk will delete all whitespace of the source:
// line 95 in Bulk.java
if (source instanceof String) {
return StringUtils.deleteWhitespace((String) source);
}

if the soure is a json string like {"text": "a b c"}, the whitespace in the value will be deleted.

Should I not build Index with string-type source?

@kramer
Copy link
Member

kramer commented Aug 9, 2013

Duplicate of #60 which is already resolved. Try using the latest snapshot.

@kramer kramer closed this as completed Aug 9, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants