Could you GIST a full curl recreation of what you did so far?
How do you index your document? How do you search in it?
Note that you should probably use that kind of mapping:
{
"person" : {
"properties" : {
"file" : {
"type" : "attachment",
"fields" : {
"file" : { "analyzer" : "arabic" },
"date" : { "store" : "yes" },
"author" : { "analyzer" : "arabic" }
}
}
}
}
}
My 2 cents
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs
Le 2 juil. 2013 à 17:59, ghonsor sajad22@gmail.com a écrit :
Hi all
In ES with mapper-attachment do we can index arabic pdf and search on it?
can you give me one example?(like java exapmle or with curl)
I test this mapping:
curl -XPUT 'http://localhost:9200/test/arabic/_mapping' -d '
{
"arabic" : {
"properties" : {
"content" : {"type" : "attachment", "analyzer" : "arabic" }
}
}
}
'but I can't query on indexed pdf
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.
For more options, visit https://groups.google.com/groups/opt_out.