Re: Multitable import - uniqueKey

2013-06-07 Thread sodoo
Thank you for all reply members. Solve the issue. -- View this message in context: http://lucene.472066.n3.nabble.com/Multitable-import-uniqueKey-tp4067796p4069007.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Multitable import - uniqueKey

2013-06-05 Thread Chris Hostetter
: How can I don't overwrite other entities? : Please assist me on this example. I'm confused, you sent this in direct reply to my last message, which contained the following... 1) a paragraph describing the general approach to solving this type of problem... >> You can use TemplateTransformer

Re: Multitable import - uniqueKey

2013-06-05 Thread sodoo
Then my schema.xml id How can I don't overwrite other entities? Please assist me on this example. -- View this message in context: htt

Re: Multitable import - uniqueKey

2013-06-04 Thread Chris Hostetter
: And I have register schema.xml these fields. : I tried to make full import but unfortunately only the last entity is : indexed. Other entities are not index. : : What should I do to import all the entities? See Gora's other reply... >> This will only work if your table IDs are different. Mi

Re: Multitable import - uniqueKey

2013-06-04 Thread sodoo
this message in context: http://lucene.472066.n3.nabble.com/Multitable-import-uniqueKey-tp4067796p4068076.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Multitable import - uniqueKey

2013-06-04 Thread Gora Mohanty
On 4 June 2013 16:03, Gora Mohanty wrote: > On 4 June 2013 14:14, sodoo wrote: >> >> Hi, >> >> My english is bad. But I try to explain do this. >> >> I have a 5 table in MySQL db. I try make data-config.xml. Then my >> data-config.xml is below. >> >> >> > name=

Re: Multitable import - uniqueKey

2013-06-04 Thread Gora Mohanty
On 4 June 2013 14:14, sodoo wrote: > > Hi, > > My english is bad. But I try to explain do this. > > I have a 5 table in MySQL db. I try make data-config.xml. Then my > data-config.xml is below. > > > name="ds-1" > driver="com.mysql.jdbc.Driver" >

Re: Multitable import - uniqueKey

2013-06-04 Thread sodoo
ase assist me on this. -- View this message in context: http://lucene.472066.n3.nabble.com/Multitable-import-uniqueKey-tp4067796p4068050.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Multitable import - uniqueKey

2013-06-04 Thread Raheel Hasan
oh thanks a lot for the replies. Table 1, 2, 3 are just "normalized" form of the whole record and you can easily pull one from another... but thats RDBMS, I dont know if thats true in Solr as well. On Mon, Jun 3, 2013 at 8:33 PM, Shawn Heisey wrote: > > ok. But do we need it? Thats what I

Re: Multitable import - uniqueKey

2013-06-03 Thread Shawn Heisey
> ok. But do we need it? Thats what I am confused at. should 1 key from > table_1 pull all the data in relationship as they were inserted? Suoplementing all the great info Jack has relayed: For the unique key in schema.xml, you really only need to be concerned about the document uniqueness within

Re: Multitable import - uniqueKey

2013-06-03 Thread Jack Krupansky
y, June 03, 2013 11:06 AM To: solr-user@lucene.apache.org Subject: Re: Multitable import - uniqueKey ok. But do we need it? Thats what I am confused at. should 1 key from table_1 pull all the data in relationship as they were inserted? On Mon, Jun 3, 2013 at 7:53 PM, Jack Krupansky wrote: S

Re: Multitable import - uniqueKey

2013-06-03 Thread Raheel Hasan
Monday, June 03, 2013 10:44 AM > To: solr-user@lucene.apache.org > Subject: Re: Multitable import - uniqueKey > > > Hi, > > Thanks for the replies. Actually, I had only a small confusion: > > From table_1 I got key_1; using this I join into table_2. But table_2 also > gav

Re: Multitable import - uniqueKey

2013-06-03 Thread Jack Krupansky
Krupansky -Original Message- From: Raheel Hasan Sent: Monday, June 03, 2013 10:44 AM To: solr-user@lucene.apache.org Subject: Re: Multitable import - uniqueKey Hi, Thanks for the replies. Actually, I had only a small confusion: From table_1 I got key_1; using this I join into table_2

Re: Multitable import - uniqueKey

2013-06-03 Thread Raheel Hasan
> Solr application users receive the key values in the responses to queries, > what expectations do you expect to set for them? > > -- Jack Krupansky > > -Original Message- From: Raheel Hasan > Sent: Monday, June 03, 2013 9:12 AM > To: solr-user@lucene.apache.org > Sub

Re: Multitable import - uniqueKey

2013-06-03 Thread Jack Krupansky
- From: Raheel Hasan Sent: Monday, June 03, 2013 9:12 AM To: solr-user@lucene.apache.org Subject: Multitable import - uniqueKey Hi, I am importing multiple table (by join) into solr using DIH. All is set, except for 1 confusion: what to do with "**" in schema? When I had only 1 table

Re: Multitable import - uniqueKey

2013-06-03 Thread Shawn Heisey
On 6/3/2013 7:12 AM, Raheel Hasan wrote: > I am importing multiple table (by join) into solr using DIH. All is set, > except for 1 confusion: > what to do with "**" in schema? > > When I had only 1 table, I had it fine. Now how to put 2 uniqueKeys (both > from different table). > > For example: >

Multitable import - uniqueKey

2013-06-03 Thread Raheel Hasan
Hi, I am importing multiple table (by join) into solr using DIH. All is set, except for 1 confusion: what to do with "**" in schema? When I had only 1 table, I had it fine. Now how to put 2 uniqueKeys (both from different table). For example: table1_id table2_id Will this work? -- Regards, R