JDBC River for parent-child document

Hi! All,

I am a newbie for Elasticsearch.

can "JDBC River" support Parent-Child Documents?

I has two types in the index, they are "topic"(parent) and "comment"(child)
, also have two table of the same name in the MySQL.
How can I via "JDBC River" to select data into Elasticksearch?

Thanks for your help.
Arthur

Hi Arthur,

there is no support in the JDBC river for parent/child document indexing.
But you can create an issue it you want to add such a
feature: Issues · jprante/elasticsearch-jdbc · GitHub

Best regards,

Jörg

On Monday, July 30, 2012 1:12:21 PM UTC+2, Arthur pan wrote:

Hi! All,

I am a newbie for Elasticsearch.

can "JDBC River" support Parent-Child Documents?

I has two types in the index, they are "topic"(parent) and
"comment"(child) , also have two table of the same name in the MySQL.
How can I via "JDBC River" to select data into Elasticksearch?

Thanks for your help.
Arthur

Dear Jörg,

I will create an issue. thanks for your answer.

Arthur

Jörg Prante於 2012年7月31日星期二UTC+8上午2時06分36秒寫道:

Hi Arthur,

there is no support in the JDBC river for parent/child document indexing.
But you can create an issue it you want to add such a feature:
Issues · jprante/elasticsearch-jdbc · GitHub

Best regards,

Jörg

On Monday, July 30, 2012 1:12:21 PM UTC+2, Arthur pan wrote:

Hi! All,

I am a newbie for Elasticsearch.

can "JDBC River" support Parent-Child Documents?

I has two types in the index, they are "topic"(parent) and
"comment"(child) , also have two table of the same name in the MySQL.
How can I via "JDBC River" to select data into Elasticksearch?

Thanks for your help.
Arthur

Hi, this feature would be really useful for me too. Is there any work
around for the river not having this feature?

For example, is there way to apply a parent/child relationship manually as
a post-process step?

Thanks,

-Josh

On Tuesday, July 31, 2012 3:01:56 AM UTC-4, Arthur pan wrote:

Dear Jörg,

I will create an issue. thanks for your answer.

Arthur

Jörg Prante於 2012年7月31日星期二UTC+8上午2時06分36秒寫道:

Hi Arthur,

there is no support in the JDBC river for parent/child document indexing.
But you can create an issue it you want to add such a feature:
Issues · jprante/elasticsearch-jdbc · GitHub

Best regards,

Jörg

On Monday, July 30, 2012 1:12:21 PM UTC+2, Arthur pan wrote:

Hi! All,

I am a newbie for Elasticsearch.

can "JDBC River" support Parent-Child Documents?

I has two types in the index, they are "topic"(parent) and
"comment"(child) , also have two table of the same name in the MySQL.
How can I via "JDBC River" to select data into Elasticksearch?

Thanks for your help.
Arthur

--