https://gist.github.com/dadoonet/3907010
-- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 24 mars 2014 à 07:38, Deepikaa Subramaniam <deeps.subraman...@gmail.com> a écrit : Also, using Nest client with C# > On Sunday, March 23, 2014 11:36:11 PM UTC-7, Deepikaa Subramaniam wrote: > I am using the attachment plugin. I have installed it under elastic search > plugings. > I couldn't find any C# examples to use this plugin. Everything that I find > are curl samples. > Anyways, I have the content - base 64 encoded and then index it. I have set > the elastic search property of this field as attachment. > but when I search for a text in the word doc that I tried to index, I don't > get any results back. if you can give me some samples, that would be great. > >> On Sunday, March 23, 2014 10:52:23 PM UTC-7, David Pilato wrote: >> What did you try so far? >> >> Read this;: http://www.elasticsearch.org/help/ >> >> -- >> David ;-) >> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs >> >> >> Le 24 mars 2014 à 02:47, Deepikaa Subramaniam <deeps.su...@gmail.com> a >> écrit : >> >> I would like to index documents for full text search. >> >>> On Friday, March 21, 2014 4:22:44 PM UTC-7, Deepikaa Subramaniam wrote: >>> Hi guys, >>> >>> I am new to Elastic Search. Have setup my env use C# +Nest to access ES. I >>> am able to index txt files successfully. I downloaded the elastic search >>> mapper plugin to extract data from other document types. However, if i try >>> to search for some Keywords from within the doc the search doesn't return >>> any results. Please help. >>> >>> public class Doc >>> { >>> public string file_id; >>> public string created; >>> [ElasticProperty(Type=Nest.FieldType.attachment, Store = true, >>> TermVector=Nest.termVectorOption.with_positions_offsets)] >>> public string content; >>> } >>> Doc doc = new Doc(); >>> Doc.content = Convert.ToBase64String(File.ReadAllBytes(path)); >> >> -- >> 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 elasticsearc...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/07284ada-b85e-4c1c-8ba1-ef12c71c43cd%40googlegroups.com. >> For more options, visit 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/86e8e14f-0d51-498e-a67e-57f91d1fcee7%40googlegroups.com. For more options, visit 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/D882E325-AF8D-4E96-958E-1216D2A516D5%40pilato.fr. For more options, visit https://groups.google.com/d/optout.