Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 6571 invoked from network); 6 Apr 2011 18:31:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Apr 2011 18:31:58 -0000 Received: (qmail 537 invoked by uid 500); 6 Apr 2011 18:31:55 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 492 invoked by uid 500); 6 Apr 2011 18:31:55 -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 484 invoked by uid 99); 6 Apr 2011 18:31:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 18:31:55 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [162.129.8.141] (HELO ipex1.johnshopkins.edu) (162.129.8.141) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 18:31:48 +0000 X-IronPort-AV: E=Sophos;i="4.63,311,1299474000"; d="scan'208";a="59114185" Received: from sys02.staff.ad.mse.jhu.edu (HELO [128.220.8.101]) ([128.220.8.101]) by ipex1.johnshopkins.edu with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 06 Apr 2011 14:31:27 -0400 Message-ID: <4D9CB17F.2040508@jhu.edu> Date: Wed, 06 Apr 2011 14:31:27 -0400 From: Jonathan Rochkind User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: "solr-user@lucene.apache.org" CC: Ryan McKinley Subject: Re: Solr: Images, Docs and Binary data References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Ha, there's a binary field type?! I've stored binary data in an ordinary "String" field type, and it's worked. But there were some headaches to get it to work, might have been smoother if I had realized there was actually a binary field type. But wait I'm talking about Solr 'stored field', not about indexing. I didn't try to index my binary data, just store it for later retrieval (knowing this can sometimes be a performance problem, doing it anyway with relatively small data, got away with it). Does the field type even effect the _stored values_ in a Solr field? On 4/6/2011 2:25 PM, Ryan McKinley wrote: > You can store binary data using a binary field type -- then you need > to send the data base64 encoded. > > I would strongly recommend against storing large binary files in solr > -- unless you really don't care about performance -- the file system > is a good option that springs to mind. > > ryan > > > > > 2011/4/6 Ezequiel Calderara: >> Another question that maybe is easier to answer, how can i store binary >> data? Any example schema? >> >> 2011/4/6 Ezequiel Calderara >> >>> Hello everyone, i need to know if some has used solr for indexing and >>> storing images (upt to 16MB) or binary docs. >>> >>> How does solr behaves with this type of docs? How affects performance? >>> >>> Thanks Everyone >>> >>> -- >>> ______ >>> Ezequiel. >>> >>> Http://www.ironicnet.com >>> >> >> >> -- >> ______ >> Ezequiel. >> >> Http://www.ironicnet.com >>