JDBC River for parent-child document


(Arthur Pan) #1

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


(Jörg Prante) #2

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: https://github.com/jprante/elasticsearch-river-jdbc/issues

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


(Arthur Pan) #3

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:
https://github.com/jprante/elasticsearch-river-jdbc/issues

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


(Joshua Chaitin-Pollak) #4

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:
https://github.com/jprante/elasticsearch-river-jdbc/issues

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

--


(system) #5