So it is easier to export a view with string and integers :) and import in csv
2015-02-05 20:05 GMT+01:00 Giovanni P <[email protected]>: > Why do you want that? Values that are surrounded by quotes are strings. Do > you want strings? You just need to convert your values to strings when > emitting them, like > > function(doc) { > emit([doc.user.friends_count.toString(), doc.user.followers_count > .toString(), doc.retweet_count.toString(), doc.text], doc.id_str); > } > > On Tue, Feb 3, 2015 at 10:37 PM, Ayhan Kesenci <[email protected] > > > wrote: > > > I export a view with a curl command > > > > and the view looks like this in the map > > > > function(doc) { > > emit([doc.user.friends_count, > > doc.user.followers_count,doc.retweet_count,doc.text], doc.id_str); > > } > > > > > > is it possible to surround the for example doc.user.friends_count with > > quote signs, to have it like this with the usual comma between the quote > > signs? > > > > > > "doc.user.friends_count"," > > doc.user.followers_count","doc.retweet_count","doc.text" > > > > thank you > > > > 2015-02-04 1:31 GMT+01:00 Ayhan Kesenci <[email protected]>: > > > > > I export a view with a curl command > > > > > > and the view looks like this in the map > > > > > > function(doc) { > > > emit([doc.user.friends_count, > > > doc.user.followers_count,doc.retweet_count,doc.text], doc.id_str); > > > } > > > > > > > > > is it possible to surround the for example doc.user.friends_count with > > > quote signs, to have it like this with the usual comma between the > quote > > > signs? > > > > > > > > > "doc.user.friends_count"," > > > doc.user.followers_count","doc.retweet_count","doc.text" > > > > > > > > >
