On Mon, Sep 1, 2008 at 10:46 AM, Chris Hostetter
<[EMAIL PROTECTED]>wrote:

> I hadn't noticed the full hsqldb directory, I was mainly just refering to
> the "solr home" configs for demoing DIH.  (i assumed the size of the jar
> was because of the solr.war inside)
>
> the example configs should definitely be in svn.  if nothing else so they
> are included in the releases sa exactly what they are: examples.
>
> The hsqldb data (and driver? ... oh, i see it's baked into the war) are a
> a seperate question.  The hsqldb driver is tiny, as long as the license is
> ok we can include it (no different then the way the main example includes
> jetty) ... as for the prepopulated DB: couldn't we store that data in SVN
> as flat text files and generate the DB at build time?  i'm not opposed to
> putting the 1.1MB hsqldb in the release.


The compressed database size is 15K so we can easily put the compressed
version in an example folder. We can give instructions to download hsqldb
jar and put it into $solr.home/lib directory and put the DataImportHandler
config in solrconfig.xml as a comment which can be enabled if needed. We can
also include hsqldb jar itself since it is only 650KB.


>
> Alternately: is there a JDBC Driver that can treate CSV files as tables?
> We don't need all the features HSQLDB provides just for the simple example
> right?
>

Yeah, there are few I found with a quick search but not much activity there.
Licenses are LGPL/GPL.
http://csvjdbc.sourceforge.net/
http://sourceforge.net/projects/xlsql/

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to