I'm currently indexing a couchdb database using the river. I put a bunch of
documents in to begin with and now that my app is running more documents
are being added. Problem is they have different structures and I'm getting
lots of this error:
[0]: index [archive], type [resume], id
[fdf6ad3dcf0b98d88b7161952f327c209ab045d5], message
[MapperParsingException[object mapping for [resume] tried to parse as
object, but got EOF, has a concrete value been provided to it?]]
I understand this error occurs when a document is trying to be indexed that
has a different type than specified in the mapping. I suspect it's a
object-string conflict. However, this is an issue since we have a "data"
node in the documents that can be anything (depending on the source of the
document) and I need the flexibility to index different types of children
under this "data" node.
So in trying to find a solution, I'm trying to see how I can make ES ignore
the entire data node while it's indexing from couchdb. But when I try to
set the mapping like so:
it doesnt seem to matter, the data node and it's contents are all showing
up in the index.
So, is there a way setup a mapping to ignore entire objects while
indexing couchdb?
I also read about an option "index.mapping.ignore_malformed". How is this
option used and would it force my index to ignore the conflicts and index
the rest of the document? How do I set that in the mapping definition?
"I understand this error occurs when a document is trying to be indexed
that has a different type than specified in the mapping"
meant to say I understand this error occurs when a document is trying to be
indexed that has objects of a different type than specified in the mapping
On Wednesday, November 7, 2012 2:20:32 PM UTC-6, Beau Keogh wrote:
I'm currently indexing a couchdb database using the river. I put a bunch
of documents in to begin with and now that my app is running more documents
are being added. Problem is they have different structures and I'm getting
lots of this error:
[0]: index [archive], type [resume], id
[fdf6ad3dcf0b98d88b7161952f327c209ab045d5], message
[MapperParsingException[object mapping for [resume] tried to parse as
object, but got EOF, has a concrete value been provided to it?]]
I understand this error occurs when a document is trying to be indexed
that has a different type than specified in the mapping. I suspect it's a
object-string conflict. However, this is an issue since we have a "data"
node in the documents that can be anything (depending on the source of the
document) and I need the flexibility to index different types of children
under this "data" node.
So in trying to find a solution, I'm trying to see how I can make ES
ignore the entire data node while it's indexing from couchdb. But when I
try to set the mapping like so:
it doesnt seem to matter, the data node and it's contents are all showing
up in the index.
So, is there a way setup a mapping to ignore entire objects while
indexing couchdb?
I also read about an option "index.mapping.ignore_malformed". How is
this option used and would it force my index to ignore the conflicts and
index the rest of the document? How do I set that in the mapping definition?
There seems to be a bug in elasticsearch where uploading a file with the
attribute "properties" to elasticsearch using a river will result in that
exception. For example, I got the same exception when trying to ensure that
the file server river https://github.com/dadoonet/fsriveruploaded the
following content:
{"properties":"hi"}
I haven't figured out why this is yet.
On Wednesday, November 7, 2012 8:23:27 PM UTC, Beau Keogh wrote:
"I understand this error occurs when a document is trying to be indexed
that has a different type than specified in the mapping"
meant to say I understand this error occurs when a document is trying to
be indexed that has objects of a different type than specified in the
mapping
On Wednesday, November 7, 2012 2:20:32 PM UTC-6, Beau Keogh wrote:
I'm currently indexing a couchdb database using the river. I put a bunch
of documents in to begin with and now that my app is running more documents
are being added. Problem is they have different structures and I'm getting
lots of this error:
[0]: index [archive], type [resume], id
[fdf6ad3dcf0b98d88b7161952f327c209ab045d5], message
[MapperParsingException[object mapping for [resume] tried to parse as
object, but got EOF, has a concrete value been provided to it?]]
I understand this error occurs when a document is trying to be indexed
that has a different type than specified in the mapping. I suspect it's a
object-string conflict. However, this is an issue since we have a "data"
node in the documents that can be anything (depending on the source of the
document) and I need the flexibility to index different types of children
under this "data" node.
So in trying to find a solution, I'm trying to see how I can make ES
ignore the entire data node while it's indexing from couchdb. But when I
try to set the mapping like so:
it doesnt seem to matter, the data node and it's contents are all showing
up in the index.
So, is there a way setup a mapping to ignore entire objects while
indexing couchdb?
I also read about an option "index.mapping.ignore_malformed". How is
this option used and would it force my index to ignore the conflicts and
index the rest of the document? How do I set that in the mapping definition?
There seems to be a bug in elasticsearch where uploading a file with the
attribute "properties" to elasticsearch using a river will result in that
exception. For example, I got the same exception when trying to ensure that
the file server river https://github.com/dadoonet/fsriver uploaded the
following content:
{"properties":"hi"}
I haven't figured out why this is yet.
On Wednesday, November 7, 2012 8:23:27 PM UTC, Beau Keogh wrote:
"I understand this error occurs when a document is trying to be indexed
that has a different type than specified in the mapping"
meant to say I understand this error occurs when a document is trying to
be indexed that has objects of a different type than specified in the
mapping
On Wednesday, November 7, 2012 2:20:32 PM UTC-6, Beau Keogh wrote:
> > > I'm currently indexing a couchdb database using the river. I put
> > > a bunch of documents in to begin with and now that my app is
> > > running more documents are being added. Problem is they have
> > > different structures and I'm getting lots of this error:
[0]: index [archive], type [resume], id
[fdf6ad3dcf0b98d88b7161952f327c209ab045d5], message
[MapperParsingException[object mapping for [resume] tried to parse as
object, but got EOF, has a concrete value been provided to it?]]
I understand this error occurs when a document is trying to be
indexed that has a different type than specified in the mapping. I suspect
it's a object-string conflict. However, this is an issue since we have a
"data" node in the documents that can be anything (depending on the source
of the document) and I need the flexibility to index different types of
children under this "data" node.
So in trying to find a solution, I'm trying to see how I can make ES
ignore the entire data node while it's indexing from couchdb. But when I
try to set the mapping like so:
it doesnt seem to matter, the data node and it's contents are all
showing up in the index.
- So, is there a way setup a mapping to ignore entire objects while
indexing couchdb?
- I also read about an option "index.mapping.ignore_malformed". How
is this option used and would it force my index to ignore the conflicts
and index the rest of the document? How do I set that in the mapping
definition?
Sorry, I should have qualified that:
The fsriver works fine - the problem was with uploading documents on a
change that I made to my version of the fsriver.
Sorry for misleading you.
On Tuesday, December 4, 2012 9:36:30 AM UTC, David Pilato wrote:
Le 4 décembre 2012 à 10:18, Amy <amybl...@gmail.com <javascript:>> a
écrit :
There seems to be a bug in elasticsearch where uploading a file with the
attribute "properties" to elasticsearch using a river will result in that
exception. For example, I got the same exception when trying to ensure that
the file server river https://github.com/dadoonet/fsriveruploaded the
following content:
{"properties":"hi"}
I haven't figured out why this is yet.
On Wednesday, November 7, 2012 8:23:27 PM UTC, Beau Keogh wrote:
"I understand this error occurs when a document is trying to be indexed
that has a different type than specified in the mapping"
meant to say I understand this error occurs when a document is trying to
be indexed that has objects of a different type than specified in the
mapping
On Wednesday, November 7, 2012 2:20:32 PM UTC-6, Beau Keogh wrote:
I'm currently indexing a couchdb database using the river. I put a bunch
of documents in to begin with and now that my app is running more documents
are being added. Problem is they have different structures and I'm getting
lots of this error:
[0]: index [archive], type [resume], id
[fdf6ad3dcf0b98d88b7161952f327c209ab045d5], message
[MapperParsingException[object mapping for [resume] tried to parse as
object, but got EOF, has a concrete value been provided to it?]]
I understand this error occurs when a document is trying to be indexed
that has a different type than specified in the mapping. I suspect it's a
object-string conflict. However, this is an issue since we have a "data"
node in the documents that can be anything (depending on the source of the
document) and I need the flexibility to index different types of children
under this "data" node.
So in trying to find a solution, I'm trying to see how I can make ES
ignore the entire data node while it's indexing from couchdb. But when I
try to set the mapping like so:
it doesnt seem to matter, the data node and it's contents are all showing
up in the index.
So, is there a way setup a mapping to ignore entire objects while
indexing couchdb?
I also read about an option "index.mapping.ignore_malformed". How is
this option used and would it force my index to ignore the conflicts and
index the rest of the document? How do I set that in the mapping definition?
You are using the couchDb river, aren't you?
If so, why are you talking about FSRiver?
I can't see what is your architecture here.
Could you elaborate a bit more what you have (couchDb instance, ES instance, ES
plugins) and what you are trying to do (inject Doc in couchDb, then add
attachment and search for it in ES for example)?
Sorry, I should have qualified that:
The fsriver works fine - the problem was with uploading documents on a change
that I made to my version of the fsriver.
Sorry for misleading you.
On Tuesday, December 4, 2012 9:36:30 AM UTC, David Pilato wrote:
> > > There seems to be a bug in elasticsearch where uploading a file
> > > with the attribute "properties" to elasticsearch using a river
> > > will result in that exception. For example, I got the same
> > > exception when trying to ensure that the file server river
> > > <https://github.com/dadoonet/fsriver> uploaded the following
> > > content:
{"properties":"hi"}
I haven't figured out why this is yet.
On Wednesday, November 7, 2012 8:23:27 PM UTC, Beau Keogh wrote:
> > > > "I understand this error occurs when a document is trying to
> > > > be indexed that has a different type than specified in the
> > > > mapping"
meant to say I understand this error occurs when a document is
trying to be indexed that has objects of a different type than specified
in the mapping
On Wednesday, November 7, 2012 2:20:32 PM UTC-6, Beau Keogh wrote:
> > > > > I'm currently indexing a couchdb database using the
> > > > > river. I put a bunch of documents in to begin with and
> > > > > now that my app is running more documents are being
> > > > > added. Problem is they have different structures and
> > > > > I'm getting lots of this error:
[0]: index [archive], type [resume], id
[fdf6ad3dcf0b98d88b7161952f327c209ab045d5], message
[MapperParsingException[object mapping for [resume] tried to parse as
object, but got EOF, has a concrete value been provided to it?]]
I understand this error occurs when a document is trying to be
indexed that has a different type than specified in the mapping. I
suspect it's a object-string conflict. However, this is an issue since
we have a "data" node in the documents that can be anything (depending
on the source of the document) and I need the flexibility to index
different types of children under this "data" node.
So in trying to find a solution, I'm trying to see how I can
make ES ignore the entire data node while it's indexing from couchdb.
But when I try to set the mapping like so:
it doesnt seem to matter, the data node and it's contents are
all showing up in the index.
- So, is there a way setup a mapping to ignore entire objects
while indexing couchdb?
- I also read about an option
"index.mapping.ignore_malformed". How is this option used and would it
force my index to ignore the conflicts and index the rest of the
document? How do I set that in the mapping definition?
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.