Hi all,
I want to copy text extracted with Tika from my PDFs (I use
mapper-attachment plugin of Elasticsearch)in a csv or a txt file if it is
possible. I am trying to get the text by executing this command:
curl -XGET 'http://localhost:9200/test/attachment/_search?pretty' -d '
{
"fields": [
"file"
]
}
'| jq '.fields["file"]| [.file] | @csv'
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 155k 100 155k 100 42 8154k 2209 --:--:-- --:--:-- --:--:--
8611k
""
But I get nothing. What did I do wrong?
Thanks.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6b7bb873-c7ba-4d47-8dc1-93e1c13b9110%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.