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));
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));
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 Elasticsearch
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));
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 Elasticsearch 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));
I am using the attachment plugin. I have installed it under Elasticsearch
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 Elasticsearch 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:
--
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 Elasticsearch
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));
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 Elasticsearch
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 Elasticsearch 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:
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 Elasticsearch
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));
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 Elasticsearch 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 Elasticsearch 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?
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 Elasticsearch 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));
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.