Sweet, thanks.... hmmm, yeah, you should have just given me a http://lmgtfy.com/ link ;)...darn, should have found that one myself.
I am storing pretty small data. Thanks, Dean -----Original Message----- From: Erick Erickson [mailto:[email protected]] Sent: Tuesday, June 21, 2011 5:39 AM To: [email protected] Subject: Re: anyway to store value as bytes? Does this help? http://lucene.apache.org/java/3_0_1/api/all/org/apache/lucene/util/IndexableBinaryStringTools.html If not, here's a note from Ryan McKinley on another thread (googling lucene storing binary data brought it up)... ****** 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. ****** Best Erick On Mon, Jun 20, 2011 at 2:26 PM, Hiller, Dean x66079 <[email protected]> wrote: > I see the api in Lucene is new Field(String, String, Store, Index) > > Is there anyway to store one of the fields as byte[]? Specifically the value > I am looking up I would like it to be byte[] instead of String. All my other > ones are String anyways. > > Thanks, > Dean > > > This message and any attachments are intended only for the use of the > addressee and > may contain information that is privileged and confidential. If the reader of > the > message is not the intended recipient or an authorized representative of the > intended recipient, you are hereby notified that any dissemination of this > communication is strictly prohibited. If you have received this communication > in > error, please notify us immediately by e-mail and delete the message and any > attachments from your system. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
