Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 93787 invoked from network); 3 Feb 2007 02:46:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2007 02:46:26 -0000 Received: (qmail 29400 invoked by uid 500); 3 Feb 2007 02:46:32 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 29370 invoked by uid 500); 3 Feb 2007 02:46:32 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 29358 invoked by uid 99); 3 Feb 2007 02:46:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 18:46:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 18:46:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 936E371408A for ; Fri, 2 Feb 2007 18:46:05 -0800 (PST) Message-ID: <22431619.1170470765601.JavaMail.jira@brutus> Date: Fri, 2 Feb 2007 18:46:05 -0800 (PST) From: "Erik Hatcher (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-122) Add optional support for Ruby-libxml2 (vs. REXML) In-Reply-To: <32282949.1169858329078.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469938 ] Erik Hatcher commented on SOLR-122: ----------------------------------- Coda - let's add the libxml2 support like AWS::S3 does: http://rubyforge.org/viewvc/s3/trunk/lib/aws/s3.rb?revision=128&root=amazon&view=markup You game for patching us up to have it load in if its installed? > Add optional support for Ruby-libxml2 (vs. REXML) > ------------------------------------------------- > > Key: SOLR-122 > URL: https://issues.apache.org/jira/browse/SOLR-122 > Project: Solr > Issue Type: Improvement > Components: clients - ruby - flare > Reporter: Coda Hale > Attachments: libxml.rb, libxml.rb > > > This file adds drop-in support for the ruby-libxml2, which is a wrapper for the libxml2 library, which is an order of magnitude or so faster than REXML. > This depends on my SOLR-121 patch for multi-document adds, since the behavior of Solr::Request::AddDocument#to_s is different. > Requiring this makes some tests fail, but for trivial reasons: some tests are directly tied to REXML, others fail due to interelement whitespace added by libxml2 (which you can't disable via the Ruby interface). Functionally, it's identical, and passes all functional tests. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.