Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 11689 invoked from network); 12 Jul 2008 04:39:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2008 04:39:12 -0000 Received: (qmail 31157 invoked by uid 500); 12 Jul 2008 04:39:10 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 31123 invoked by uid 500); 12 Jul 2008 04:39:10 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 31112 invoked by uid 99); 12 Jul 2008 04:39:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 21:39:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of noble.paul@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2008 04:38:16 +0000 Received: by nf-out-0910.google.com with SMTP id g16so1262199nfd.15 for ; Fri, 11 Jul 2008 21:38:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3qipT0MkFgYHH6vYyFOnJ7p4VRa4S6HiCjb+zK9vvG4=; b=sJo/xhp9VqtGQ9GWzHhg7kn5vdsFs3QfPDotAgQI+/P+dIe9MuB8hvdPkzsggLNMvi byOGvU94nKZZX9Glx4DHq3nCk7A57erK9WR27W5WmnNtNIixg3IaxwyrxyuaCdA47N7E lXXxHB6QAcbFoKrd6w7nxykxuBwBgc95XdwtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VDSxjEaAipGetZPdWiT1HcLzRDg4rQSx8Rol3Y1mEgVWdswuVkzReNQ9Us+T10MRrC Sq5ActwNlcL5uO7b3bZLcAqEnxqtAc8IQWiuj/Webp5+Obb+Z1FilE1j01EInlq6iqe/ 2HtAxbJriSJLIDQjcoI7UdM2/ozayZCJi4K10= Received: by 10.210.137.14 with SMTP id k14mr7107579ebd.162.1215837517784; Fri, 11 Jul 2008 21:38:37 -0700 (PDT) Received: by 10.210.13.7 with HTTP; Fri, 11 Jul 2008 21:38:37 -0700 (PDT) Message-ID: <5e76b0ad0807112138r2c7d056ge59be150855c2a3d@mail.gmail.com> Date: Sat, 12 Jul 2008 10:08:37 +0530 From: "=?UTF-8?B?Tm9ibGUgUGF1bCDgtKg=?= =?UTF-8?B?4LWL4LSs4LS/4LSz4LWN4oCNIOCkqOCli+CkrOCljeCks+CljQ==?=" To: solr-user@lucene.apache.org Subject: Re: HttpDataSource questions In-Reply-To: <678D6E9F-16C7-467E-A09F-DAECF00E7BC0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <678D6E9F-16C7-467E-A09F-DAECF00E7BC0@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Jul 11, 2008 at 11:46 PM, Jon Baer wrote: > Hi, > > On the wiki it says that url attribute can be templatized but Im not sure > how that happens, do you I need to create something read from a database > column in order to use that type of function? ie Id like to run over some > RSS feeds for multiple URLs (~ 30), do I need to copy 1 per URL I want to > read or is there an easier method? It is a simple passthrough of parameters you passed over to the http request. eg: If you want to read a feed with say an extra attribute (date) which you will know in runtime you can make the http request with command=full-import&date=some_date. The date can be consumed in the url as url="http://xyz.com?a=b&thedate=${dataimporter.request.date} if you could give me a sample on how the diffrent urls look like I may be able to suggest you something. Actually there are many ways to achieve it. > > Also does anything currently get compared when doing a delta-import for > these types of data sources? Does the dataimport.properties compare itself > to anything? (ie a pubdate on RSS, etc). > > Thanks! > > - Jon > -- --Noble Paul