oliver006 / elasticsearch-test-data

Generate and upload test data to Elasticsearch for performance and load testing
MIT License
257 stars 122 forks source link

Update format to include more types #4

Closed karikkato closed 8 years ago

karikkato commented 8 years ago

added bool as well as ts2 to have a string formatted datetime, and a text field allowing for a list of predefined strings, useful for things such as aggregation testing

also updated to allow for a set length, as before using the same number for both min and max would cause an exception in the range function

oliver006 commented 8 years ago

Thanks for the pull request, I like the new field types! Two small comments, let me know what you think and we should be good to go.

karikkato commented 8 years ago

Glad you enjoyed it, it was my first foray into python, and I really needed some random data :)

I'll try to see if I have some time later today to make those changes

oliver006 commented 8 years ago

Awesome, thanks, looking forward to it!

karikkato commented 8 years ago

Take a look at it now, I might try to add array support later since I have a use case for it.

oliver006 commented 8 years ago

I like it, nice work! Can you resolve the merge conflicts and update your branch and we should be good to get this merged!

karikkato commented 8 years ago

Not sure if you're waiting on a response from me, but you can merge now

oliver006 commented 8 years ago

Merged, thanks for the reminder!