Re: DIH primary key

2011-09-05 Thread Gora Mohanty
On Mon, Sep 5, 2011 at 7:38 PM, Erick Erickson wrote: [...] > You might be able to do something with creating a synthetic that > was the timestamp or some such, although be sure you don't generate > the same timestamp for two successive records, but I'm guessing. [...] Which database are you usi

Re: DIH primary key

2011-09-05 Thread Erick Erickson
The point of is that it is used to prevent multiple copies of the documents from being searched. So the first question I'd ask is whether this is a show-stopper right there. Are you delta queries going to pull copies of the *same* document from the view? If so, does your app really want to see the

Re: DIH primary key

2011-09-04 Thread Kissue Kissue
Thanks for replying. Unfortuately the table i need to import from is a view and there is no unique key in there i can use as a primary key. How does this affect my using DIH? does it mea i cannot use DIH? Thanks. On Sun, Sep 4, 2011 at 8:44 PM, Shawn Heisey wrote: > On 9/4/2011 12:16 PM, Kiss

Re: DIH primary key

2011-09-04 Thread Shawn Heisey
On 9/4/2011 12:16 PM, Kissue Kissue wrote: I was reading about DIH on the this Wiki link : http://wiki.apache.org/solr/DataImportHandler#A_shorter_data-config The following was said about entity primary key: "is *optional* and only needed when using delta-imports". Does this mean that the primary

DIH primary key

2011-09-04 Thread Kissue Kissue
Hi, I was reading about DIH on the this Wiki link : http://wiki.apache.org/solr/DataImportHandler#A_shorter_data-config The following was said about entity primary key: "is *optional* and only needed when using delta-imports". Does this mean that the primary key is mandatory for delta imports? I a