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 DCFAF17FC3 for ; Tue, 21 Apr 2015 15:45:54 +0000 (UTC) Received: (qmail 87217 invoked by uid 500); 21 Apr 2015 15:45:51 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 87155 invoked by uid 500); 21 Apr 2015 15:45:51 -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 87140 invoked by uid 99); 21 Apr 2015 15:45:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 15:45:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for solr-user@lucene.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 15:45:45 +0000 Received: from mail-ig0-f182.google.com (mail-ig0-f182.google.com [209.85.213.182]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id B015643EE3 for ; Tue, 21 Apr 2015 15:45:08 +0000 (UTC) Received: by igbyr2 with SMTP id yr2so90311816igb.0 for ; Tue, 21 Apr 2015 08:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=a8IYT1VZs07iDFBalksa1j77ebSGfG8woXIkfzQSfBA=; b=D92TEo95AQ3E9M56TyEwAzoy2KzbRwTHCdLp0qoxEj5EPcX7D7OLYFZTPGumZyn9Bf ckbVvH2kDXLESEyZIloE3UZGQgiJdpgko77DUAueLjPNSVsvpumZSSiMbQyGSkFQQkDI l6a+Hqb2tqaXxyEOa8XyyOzIX6U4FYUDllKBB1KECNM21dQ+T4QjGsNjOt0h3w2XjmfS qcEcVMCz7S2488pbzEblfEjnSpfv2f65jie9d0UHf+LDP+dcQ1HkMOtAEc4XW4YwESY0 OxLLiyktmIqckVjDKIIcp30XBSwsWMUAOkCHGjewitIP3z+TFr1HWd5MbXiOchuf4mEP +c3A== MIME-Version: 1.0 X-Received: by 10.50.64.243 with SMTP id r19mr4976475igs.5.1429631108414; Tue, 21 Apr 2015 08:45:08 -0700 (PDT) Received: by 10.107.181.7 with HTTP; Tue, 21 Apr 2015 08:45:08 -0700 (PDT) In-Reply-To: <55362D1B0200004200080706@slesmail.veritablelp.com> References: <55362D1B0200004200080706@slesmail.veritablelp.com> Date: Tue, 21 Apr 2015 08:45:08 -0700 Message-ID: Subject: Re: Document Created Date From: Erick Erickson To: solr-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Not really sure what you're asking here, I must be missing something. The mapping is through the field name supplied, so as long as your input XML has something like your date here it should be fine. You can use "date math" here as well, as: NOW Best, Erick On Tue, Apr 21, 2015 at 7:57 AM, Eric Meisler wrote: > I am a newbie and just started using Solr 4.10.3. We have successfully i= ndexed a network drive and are running searches. We now have a request to = show the "Created Date" for all documents (PDF/WORD/TXT/XLS) that come back= in our search results. I have successfully filtered on the last_modified = date but I cannot figure out or find out how to add a document's Created Da= te to the schema.xml. We do not want to search on the created date since l= ast_modified date handles this but just want to display it. To my understa= nding I need to add indexed=3D"false" and stored=3D"true" to the xml field = but I don't know how or understand how the xml name will map to the documen= t's created date property. > > This is my guess: > > > Can someone please supply the correct syntax for the xml and maybe a brie= f comment on how solr maps to the actual document's property? Also, will I= need to re-index the dive to make this change apply? > > Thanks, > Eric