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<javascript:>> 
> 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 <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/07284ada-b85e-4c1c-8ba1-ef12c71c43cd%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/07284ada-b85e-4c1c-8ba1-ef12c71c43cd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/33b0c0a0-cb66-4d1a-9e8b-4dd0acea9112%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to