Re: How to search a DataImportHandler solr index

2008-10-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
oh. There is nothing wrong with indexing or querying. Solr cannot store or return a document like flash 50x50 100x100 gif 50x50 100x100 Solr/Lucene Document is not really an object tree. It

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

Re: How to search a DataImportHandler solr index

2008-10-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
probably u can paste your data-config.xml with the queries etc --Noble On Fri, Oct 24, 2008 at 1:33 PM, Nick80 <[EMAIL PROTECTED]> wrote: > > Hi Paul, > > thanks for the answer but unfortunately it doesn't work. I have the > following: > > > > > > > > > > >

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-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
You must have your entities nested like these banner and size must be multivalued On Thu, Oct 23, 2008 at 11:29 PM, Nick80 <[EMAIL PROTECTED]> wrote: > > I did some more testing and encountered another problem. I have three tables: > campaign, banner and size. A campaign

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Oct 23, 2008 at 10:01 PM, Nick80 <[EMAIL PROTECTED]> wrote: > > It was actually very easy. I followed the tutorial at > http://wiki.apache.org/solr/DataImportHandler . The only thing I forgot was > that I had to define the fields that I have in data-config.xml also in > solrconfig.xml. Anot

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-23 Thread Nick80
It was actually very easy. I followed the tutorial at http://wiki.apache.org/solr/DataImportHandler . The only thing I forgot was that I had to define the fields that I have in data-config.xml also in solrconfig.xml. Another issue I'm having with the wiki article is that it doesn't mention where y

Re: How to search a DataImportHandler solr index

2008-10-23 Thread Matthew Runo
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: Never mind. I needed to specify in schema.xml that

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
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-22 Thread Matthew Runo
DataImportHandler is only a way to get data into your index, from a relational database of some sort. It won't affect your Solr reads in any way - so everything that Solr normally does will still work the same. (I have not had a chance to look at it in depth, but searching the index would