It gives me the text extracted of my PDFs (instead of getting base64 
content, I need it in readable text). I'll show you just a small part of 
the query result:

{
>    "took": 6,
>    "timed_out": false,
>    "_shards": {
>       "total": 5,
>       "successful": 4,
>       "failed": 0
>    },
>    "hits": {
>       "total": 7,
>       "max_score": 1,
>       "hits": [
>          {
>             "_index": "test",
>             "_type": "attachment",
>             "_id": "AUumL_QfgcE6sosOU9XD",
>             "_score": 1,
>             "fields": {
>                "file": [
>                   "PROJET INNOVANT 2013 Cahier OSEO\n1\n\n�INFORMATIONS 
> SUR LE DOCUMENT\n\nEntreprise Nom du projet Date de rendu du document Titre 
> du document Version Nombre de pages Chef du projet 
> Contributeurs\nResponsable Projet Innovant Encadrant Technique Encadrant 
> Humanités Mots clés\n\nAKH PARNTERS SOKARIS 15 avril 2013 Projet Innovant 
> 2013 ­ Cahier OSEO 1.0 30 Arthur Magnien Arthur Magnien, Clément Garnier, 
> Grégory D'Angelo, Minwei Chen, Joel Pestana, Fujia Hou Stéphane Frénot 
> Claire Goursaud Claude Guedat Consulting, Traitement d'images, Publicité, 
> Optimisation, Analyse, Etude comportementale, influence, impact, 
> regard\n\nHISTORIQUE DU DOCUMENT\n\nVersion 0.1 0.2 0.3 0.4 
> 0.8\n1.0\n2.0\n\nDate 19 Mars 2013 20 Mars 2013 28 Mars 2013 29 Mars 2013 8 
> Avril 2013\n15 Avril 2013\n18 Avril 2013\n\nCommentaires\nCréation du 
> document Ajout de l'introduction et la partie Management Ajout de la partie 
> Juridique et Santé Ajout de la partie Marketing et Technique Ajout partie 
> AF, Financière, analyse des risques et Bibliographie - Version provisoire 
> du cahier Révision avec Tuteurs. Modification des parties et ajout du 
> glossaire Deuxième version provisoire du cahier Mise en page finale du 
> document\n\nStatus Draft Draft Draft Draft Draft\n1.0\n2.0\n\nTABLE DES 
> MATIÈRES\nINFORMATIONS SUR LE DOCUMENT 
> ...............................................................................................................
>  
> 2 HISTORIQUE DU 
> DOCUMENT............................................................................................................................
>  
> 2 TABLE DES 
> MATIÈRES.........................................................................................................................................
>  
> 2 ABRÉVIATIONS 
> ..................................................................................................................................................
>  
> 3 RÉFÉRENCES 
> ......................................................................................................................................................
>  
> 3 CONTEXTE DU PROJET 
> ......................................................................................................................................
>  
> 4 NOTRE 
> ÉQUIPE...................................................................................................................................................
>  
> 5 ANALYSE FONCTIONNELLE 
> ..............................................................................................................................
>  
> 6 ÉTUDE DE MARCHÉ 
> ...........................................................................................................................................
>  
> 8 ANALYSE DU BESOIN 
> ........................................................................................................................................
>  
> 9 ÉTUDE DE LA CONCURRENCE 
> ..........................................................................................................................
>  
> 9 POSITIONNEMENT ET OFFRES PROPOSÉES - AKH PARTNERS 
> ....................................................................... 11 
> CARACTÉRISTIQUES TECHNIQUES 
> .................................................................................................................
>  
> 14 PLAN FINANCIER 
> ............................................................................................................................................
>  
> 18\n2\n\n�CADRE JURIDIQUE 
> ..........................................................................................................................................
>  
> 22 ANALYSE DES RISQUES 
> ...................................................................................................................................
>  
> 23 MANAGEMENT DE 
> PROJET.............................................................................................................................
>  
> 26 
> ANNEXES.........................................................................................................................................................
>  
> 28\n\nABRÉVIATIONS\n\nCFE : Centre de formalité des entreprises CNIL : 
> Commission nationale de l'informatique et des libertés GIMP : GNU Image 
> Manipulation Program Git : Gestionnaire de versions décentralisé IFA : 
> Impôt forfaitaire annuel IFOP: Institut français d'opinion publique INPI : 
> Institut national de la propriété intellectuelle IREP : Institut de 
> recherches et d'études publicitaires JEI : Jeune entreprise innovante 
> OpenCV : Open Computer Vision\n\nOpenGL : Open Graphics Library, librairies 
> PI : Projet innovant du département TC SAS : Société par actions 
> simplifiées SOKARIS : Solution logicielle développée par AKH Partners SVN : 
> Subversion, gestionnaire de version SWOT : 
> Strengths-Weaknesses-Opportunities-Threats, analyse des forces, faiblesse, 
> opportunités et menaces TC : Département Télécommunications, Services & 
> Usages à l'INSA de Lyon\n\nRÉFÉRENCES\n\n[1] Journal du net. 
> http://www.journaldunet.com/management/marketing 
> /dossier/marketing-visuel/2.shtml [2] Recherche IREP. 
> http://www.irep.asso.fr/marche-publicitaire-chiffresannuels.php [3] Etude 
> IFOP sur les critères de visualisation d'une publicité [4] Coût du plan 
> premium dans le métro parisien. 
> http://www.mediatransports.com/images/produits/offre 
> _cgv2012_mbs_14022012.pdf [5] Junwei Technologies website. [6] Cliris 
> website. http://www.clirisgroup.com [7] Anaxa vida website 
> http://anaxa-vida.fr/ [8] Shopperception website. 
> http://www.shopperception.com/ [9]Google Analytics 
> http://www.google.com/analytics/ [10] Tobii website. http://www.tobii.com/ 
> [11] Etude 2011 microsfot advertsing [12] Etude Context Matters 2007 [13] 
> Caractéristiques en vision par ordinateur 
> http://fr.wikipedia.org/wiki/Extraction_de_caract%C3%A 
> 9ristique_en_vision_par_ordinateur [14] Algorithme de Haar (2010) Suivi du 
> regard non intrusif en tête libre à partir d'image vidéo. 
> http://hal.archivesouvertes.fr/docs/00/80/82/99/PDF/RI080408.pdf\n\n[15] 
> Méthode de Viola et Jones 
> http://fr.wikipedia.org/wiki/M%C3%A9thode_de_Viola_e t_Jones [16] Détection 
> in computer vision https://www.youtube.com/watch?v=NCtYdUEMotg [17] Open CV 
> Library http://opencv.org/ [18]"
>                ]
>             }
>          },
>
{
            "_index": "test",
            "_type": "attachment",
            "_id": "AUumKYuHgcE6sosOU9XC",
            "_score": 1,
            "fields": {
               "file": [
                  "Dossier\n\n« Be everywhere. At once. »\n\n Référence 
Ubiquity ­ Dossier Oseo.pdf\n Version 1.0 17 avril 2013\n\n Auteur Equipe 
1\n Chef de projet Pierre Curis\n\n�« Be everywhere. At once. »\n\n 
Informations sur le document\n\nNom du projet Date de rendu du document 
Titre du document Type Version Responsable du projet Responsable PI 
Encadrant technique Encadrant humanités Mots-clés\n\nUbiquity Jeudi 11 
avril 2013 Ubiquity ­ Dossier Oséo Document PDF 1.0 Pierre Curis Stéphane 
Frénot Isabelle Augé-Blum Patrice Heyde Livestreaming, web, cartographie, 
reportage, informations\n\n Historique du document\n\nVersion v0.1 v0.2 
v1.0\n\nDate 20/02/2012 12/04/2013 17/04/2013\n\nModification Création du 
document "
               ]
            }
         },
         {
            "_index": "test",
            "_type": "attachment",
            "_id": "AUvamLbSi6bRbhYPLka0",
            "_score": 1
         }
      ]
   }
}


And the other files I indexed.  I didn't copy all the text but only small 
parts

-- 
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/b89ea240-be8b-4219-a1cb-f4b13cb640d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to