How to search a DataImportHandler solr index

2008-10-22 Thread Nick80
Hi, I'm using a couple of Solr 1.1 powered indexes and have relied on my "old" Solr installation for more than two years now. I'm working on a new project that is a bit complexer than my previous ones and I thought I had a look at all the new goodies in Solr. One item that caught my attention is

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Nick80
Hi Matthew, thanks for the reply, but I did some testing and it isn't working like a normal index (or maybe I'm doing something wrong). For testing purposes I have two tables, a person table and a hobby table. A person can have many hobbies. I have set up the dataimporthandler and imported the da

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Nick80
Never mind. I needed to specify in schema.xml that the field is multiValued. -- View this message in context: http://www.nabble.com/How-to-search-a-DataImportHandler-solr-index-tp20120698p20131412.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Nick80
; > So you were able to get things working? What was your experience with > the DataImportHandler like? > > Thanks for your time! > > Matthew Runo > Software Engineer, Zappos.com > [EMAIL PROTECTED] - 702-943-7833 > > On Oct 23, 2008, at 6:50 AM, Nick80 wrote: >

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Nick80
I did some more testing and encountered another problem. I have three tables: campaign, banner and size. A campaign can have multiple banners of different types (flash, gif, ...). And each type of banner can be of multiple sizes (50x50, 100x100, ...). So I did the following in data-config.xml

Re: How to search a DataImportHandler solr index

2008-10-24 Thread Nick80
Hi Paul, thanks for the answer but unfortunately it doesn't work. I have the following: I have defined banner_type and size as: Now when I do a search with Solr, I get: 1 Campaign Name flash gif

Re: How to search a DataImportHandler solr index

2008-10-24 Thread Nick80
Hi, below is a simplified copy of my data-config file: I have defined the following fields in schema.xml: Hope that makes it a bit cleare