Did you store the file content in mapping? -- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr <https://twitter.com/elasticsearchfr> | @scrutmydocs <https://twitter.com/scrutmydocs>
> Le 2 mars 2015 à 16:49, Marria <[email protected]> a écrit : > > 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/6b7bb873-c7ba-4d47-8dc1-93e1c13b9110%40googlegroups.com > > <https://groups.google.com/d/msgid/elasticsearch/6b7bb873-c7ba-4d47-8dc1-93e1c13b9110%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/479F97E2-AD53-4B27-91DC-CA69D98C8F89%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
