EmersonElectricCo / fsf

File Scanning Framework
Apache License 2.0
285 stars 49 forks source link

Explicitly cast value as string. #50

Closed dcode closed 7 years ago

dcode commented 7 years ago

Since the value could be any valid Java value type, cast it to a string. Without this, Elasticsearch cannot generate a valid mapping, since it could be an int in one record and a string in the next.

NOTE: not sure if this is needed anymore w/ the other changes. If not, just close the PR and I'll delete my fork.

compsecmonkey commented 7 years ago

Good call. Thanks for the PR