Thanks Erik. I wasn't thrilled about the XML dependency either, but it I figured using the class already present in solr was better than adding new code (or ripping off code I've written elsewhere) that does more or less the same thing.
In situations like this I tend to go for a three jar approach, with a common jar with stuff like XML in it, and then independent client and server jars built on top of that. It might be overkill in this case, given there is only one small client class, but it is an option. Maven2, by the way, is really good at managing that kind of interdependent set of jars. But I realize that I got ahead of myself when I proposed http://issues.apache.org/jira/browse/SOLR-19?page=all. I've since made improvements that make it much easier for me to use solr in my all-Maven2-all-the-time world, but it's somewhat unreasonable to push it back on a community that is happy with ant. -D -----Original Message----- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 10:07 AM To: [email protected] Subject: Re: [jira] Updated: (SOLR-20) A simple Java client with Java APIs for add(), delete(), commit() and optimize(). Darren (Erik!) - Thanks for this very handy utility! I'm happy to commit it soon (let me use it first) unless someone beats me to it. I'll have to see what makes the most sense in terms of where this will live in the directory structure and how we'll distribute it so it can be used as a stand-alone API for a client. I noticed it leverages Solr's XML class which makes this a little more tricky for someone to easily use in a standalone Java project, but not a big deal for us to arrange things so all someone would need is a solr- client.jar or something like that. I've deleted the older versions of the file on JIRA. Erik On Jun 2, 2006, at 12:58 PM, Darren Erik Vengroff (JIRA) wrote: > Here is the latest, incorporating Erik's suggestion about > supporting multi-valued fields. > > BTW, is there any way to delete the older attached versions of this > file from JIRA? There's no real need for them to be there any more.
