Hi, 
I am first at elasticsearch and I want to search pdf files by content, but
the resulting can't read properly the content of pdf file. It looks as
following: 

http://localhost:9200/mongoindex/_search?pretty=true

 { 
   "took" : 10, 
   "timed_out" : false, 
   "_shards" : { 
   "total" : 5, 
   "successful" : 5, 
   "failed" : 0 
   }, 
   "hits" : { 
   "total" : 1, 
   "max_score" : 1.0, 
   "hits" : [ { 
   "_index" : "mongoindex", 
   "_type" : "files", 
   "_id" : "532595b8f37d5cc2d64a517d", 
   "_score" : 1.0, 
   "_source" : {"content":{"content_type":"application/pdf",
"title":"D:/sample.pdf", 
"content":"JVBERi0xLjUNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyhlbi1VUykgPj4NCmVuZG9iag0KMiAwIG9iag0
 

   
"filename":"D:/sample.pdf","contentType":"application/pdf","md5":"afe70f97bce7876e39aa43f71dc7266f","length":82441,"chunkSize":262144,"uploadDate":"2014-03-16T12:14:48.542Z","metadata":{}}
 
   } ] 
} 
} 

Could someone please help me on it? Thank you! 

Here is the link I used: http://v.bartko.info/?p=463



--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/searching-pdf-files-by-content-with-Mongodb-river-tp4051989.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

-- 
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/1395043287994-4051989.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to