Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E3D79930 for ; Wed, 25 Jan 2012 16:11:05 +0000 (UTC) Received: (qmail 779 invoked by uid 500); 25 Jan 2012 16:11:02 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 572 invoked by uid 500); 25 Jan 2012 16:11:01 -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 564 invoked by uid 99); 25 Jan 2012 16:11:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 16:11:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fergusmcdowall@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-wi0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 16:10:53 +0000 Received: by wibhq12 with SMTP id hq12so4310836wib.35 for ; Wed, 25 Jan 2012 08:10:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=H6evUBfovuF/tzSm/X1SARbqCKqkQDbLUy5cz6QiC+s=; b=sjGGcxjVS6PewQ0pbLR12GxajtyrKYmWxTw2b7XpSaxXwANjmMzMOPUCotC9zY53oJ sPDodY5IjK5VD4PVXKY4sPVF+j8qnvz7FUI2C/OSvW8mPUzW+qX6Fz9fEiyvtA9R0A0F /gjDa1ExjbW8Jx0KwSU6PUbhR/PSvetod/nuQ= MIME-Version: 1.0 Received: by 10.180.101.35 with SMTP id fd3mr29020006wib.22.1327507833139; Wed, 25 Jan 2012 08:10:33 -0800 (PST) Received: by 10.216.135.95 with HTTP; Wed, 25 Jan 2012 08:10:33 -0800 (PST) Date: Wed, 25 Jan 2012 17:10:33 +0100 Message-ID: Subject: What is the most basic schema.xml you can have for indexing a simple database? From: Fergus McDowall To: solr-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Is it do-able/sensible to build a schema.xml from the ground up? Say that you are feeding the results of a database query into solr containing the fields id(int), title(varchar), description(varchar), pub_date(date) and tags(varchar) What would be the simplest schema.xml that could support this structure in Solr? Fergus