Re: Unique Identifiers

2009-04-30 Thread ahammad
in the DB. Is it possible for Solr to create that field and assign a number while it's indexing? I recommend an aggregate unique key field, using maybe this scheme: table-name-primary key value' Erik -- View this message in context: http://www.nabble.com/Unique-Identifiers

Re: Unique Identifiers

2009-04-30 Thread Shalin Shekhar Mangar
On Thu, Apr 30, 2009 at 8:42 PM, ahammad ahmed.ham...@gmail.com wrote: Hello, How would I go about creating an aggregate entry? Does it go in the data-config.xml file? You can use the TemplateTransformer to fix the table name followed by the pk of the table. e.g. field column=uniqueKey

Re: Unique Identifiers

2009-04-28 Thread Erik Hatcher
On Apr 28, 2009, at 9:49 AM, ahammad wrote: Is it possible for Solr to assign a unique number to every document? Solr has a UUIDField that can be used for this. But... For example, let's say that I am indexing from several databases with different data structures. The first one has a