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 B1C1810F3E for ; Mon, 26 Jan 2015 05:55:28 +0000 (UTC) Received: (qmail 8006 invoked by uid 500); 26 Jan 2015 05:55:25 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 7920 invoked by uid 500); 26 Jan 2015 05:55:25 -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 7909 invoked by uid 99); 26 Jan 2015 05:55:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jan 2015 05:55:24 +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 (athena.apache.org: domain of jlbetancourt@uci.cu designates 200.55.140.180 as permitted sender) Received: from [200.55.140.180] (HELO mx3.uci.cu) (200.55.140.180) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 26 Jan 2015 05:55:20 +0000 Received: (qmail 25694 invoked from network); 26 Jan 2015 05:53:57 -0000 Received: from unknown (HELO wmail3.uci.cu) (10.0.0.86) by 0 with SMTP; 26 Jan 2015 05:53:54 -0000 Received: from localhost (localhost [127.0.0.1]) by wmail3.uci.cu (Postfix) with ESMTP id B63B72468113 for ; Mon, 26 Jan 2015 00:53:54 -0500 (CST) Received: from wmail3.uci.cu ([127.0.0.1]) by localhost (wmail3.uci.cu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ZDBoVvlYElr0; Mon, 26 Jan 2015 00:53:43 -0500 (CST) Received: from localhost (localhost [127.0.0.1]) by wmail3.uci.cu (Postfix) with ESMTP id 1736B2468345 for ; Mon, 26 Jan 2015 00:53:43 -0500 (CST) X-Amavis-Modified: Mail body modified (using disclaimer) - wmail3.uci.cu X-Virus-Scanned: amavisd-new at uci.cu Received: from wmail3.uci.cu ([127.0.0.1]) by localhost (wmail3.uci.cu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FHZNXhXnePOI for ; Mon, 26 Jan 2015 00:53:43 -0500 (CST) Received: from wmail3.uci.cu (wmail3.uci.cu [10.0.0.86]) by wmail3.uci.cu (Postfix) with ESMTP id F2DD42468113 for ; Mon, 26 Jan 2015 00:53:42 -0500 (CST) Date: Mon, 26 Jan 2015 00:53:42 -0500 (CST) From: Jorge Luis Betancourt =?utf-8?Q?Gonz=C3=A1lez?= To: solr-user@lucene.apache.org Message-ID: <1150895279.10383137.1422251622867.JavaMail.zimbra@uci.cu> In-Reply-To: References: Subject: Re: Indexed epoch time in Solr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.8.127.248] X-Mailer: Zimbra 8.0.5_GA_5839 (ZimbraWebClient - GC39 (Mac)/8.0.5_GA_5839) Thread-Topic: Indexed epoch time in Solr Thread-Index: Of6Q9P7pOIt7fJfVy6EDX4KUeXTlfg== X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 72326 [Jan 26 2015] X-KLMS-AntiSpam-Version: 5.5.3 X-KLMS-AntiSpam-Envelope-From: jlbetancourt@uci.cu X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Moebius-Timestamps: 3337769, 3337780, 0 X-KLMS-AntiSpam-Info: LuaCore: 138 2015-01-23_18-22-43 ee0d11d3ea824080dd477cfc0276ca5a9c644a05 X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: Clean, 2015/01/22 15:55:38 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.705, bases: 2015/01/25 23:44:00 #10287294; khse: 2014-03-12 13:55:01 X-KLMS-AntiVirus-Status: Clean, skipped X-Virus-Checked: Checked by ClamAV on apache.org Perhaps could you use a DocTransformer to convert the unix time field into any representation you want? You'll need to write a custom DocTransformer but this is no complex task. Regards, ----- Original Message ----- From: "Ahmed Adel" To: solr-user@lucene.apache.org Sent: Monday, January 26, 2015 12:35:54 AM Subject: Indexed epoch time in Solr Hi All, Is there a way to convert unix time field that is already indexed to ISO-8601 format in query response? If this is not possible on the query level, what is the best way to copy this field to a new Solr standard date field. Thanks, -- *Ahmed Adel* --------------------------------------------------- XII Aniversario de la creación de la Universidad de las Ciencias Informáticas. 12 años de historia junto a Fidel. 12 de diciembre de 2014.