Re: DIH question: importing string containing comma-delimited list into a multiValued field

2015-07-17 Thread Shawn Heisey
On 7/17/2015 8:23 AM, Bill Au wrote: > One of my database column is a varchar containing a comma-delimited list of > values. I wold like to import these values into a multiValued field. I > figure that I will need to write a ScriptTransformer to do that. Is there > a better way? DIH provides th

DIH question: importing string containing comma-delimited list into a multiValued field

2015-07-17 Thread Bill Au
One of my database column is a varchar containing a comma-delimited list of values. I wold like to import these values into a multiValued field. I figure that I will need to write a ScriptTransformer to do that. Is there a better way? Bill

Re: DIH Question

2013-06-12 Thread PeriS
What would be the process to update a new record in an existing db using DIH? On Jun 12, 2013, at 1:06 PM, PeriS wrote: > 1. Current num records in db: 4 > 2. Created a new record and called delta-import using the following url; > localhost:8983/dataimport?command=delta-import > SOLR Log here :

Re: DIH Question

2013-06-12 Thread PeriS
1. Current num records in db: 4 2. Created a new record and called delta-import using the following url; localhost:8983/dataimport?command=delta-import SOLR Log here : http://apaste.info/gF3N 3. When i tried checking the status from the browser - logs are here: http://apaste.info/gxDF db-import-

Re: DIH Question

2013-06-12 Thread Gora Mohanty
On 12 June 2013 21:34, PeriS wrote: > When creating a new record in the db, and running the deal-import command, i > m not seeing the new record being indexed. Is there some configuration I need > to set? The use is the db already has records loaded and I would like to > index new records. What

DIH Question

2013-06-12 Thread PeriS
When creating a new record in the db, and running the deal-import command, i m not seeing the new record being indexed. Is there some configuration I need to set? The use is the db already has records loaded and I would like to index new records. Whats the process? Any ideas please? Thanks -Per

Re: Solr DataConfig / DIH Question

2010-06-16 Thread Alexey Serba
> There is a 1-[0,1] relationship between Person and Address with address_id > being the nullable foreign key. I think you should be good with single query/entity then (no need for nested entities) On Sunday, June 13, 2010, Holmes, Charles V. wrote: > I'm putting together an entity.  A simpli

Re: Solr DataConfig / DIH Question

2010-06-13 Thread MitchK
Guys??? You are in the wrong thread. Please, send a message to the mailing list, do not answer to existing posts. Thank you. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-and-Nutch-Droids-to-use-or-not-to-use-tp890640p892041.html Sent from the Solr - User mailing li

Re: Solr DataConfig / DIH Question

2010-06-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
this looks like a common problem. I guess DIH should handle this more gracefully. Instead of firing a query and failing it should not fire a query if any of the values are missing . This can b made configurable if needed On Sun, Jun 13, 2010 at 9:14 AM, Lance Norskog wrote: > This is a slow way

Re: Solr DataConfig / DIH Question

2010-06-12 Thread Lance Norskog
This is a slow way to do this; databases are capable of doing this join and feeding the results very efficiently. The 'skipDoc' feature allows you to break out of the processing chain after the first query. It is used in the wikipedia example. http://wiki.apache.org/solr/DataImportHandler On Sat

Solr DataConfig / DIH Question

2010-06-12 Thread Holmes, Charles V.
I'm putting together an entity. A simplified version of the database schema is below. There is a 1-[0,1] relationship between Person and Address with address_id being the nullable foreign key. If it makes any difference, I'm using SQL Server 2005 on the backend. Person [id (pk), name, addres