Hi, your answers were really helpfull

I was thinking in putting the base64 encoded file into a string field. But
was a little worried about solr trying to stem it or vectorize or those
stuff.

Seen in the example of the schema.xml:
    <!--Binary data type. The data should be sent/retrieved in as Base64
encoded Strings -->
    <fieldtype name="binary" class="solr.BinaryField"/>

Anyone knows any storage for images that performs well, other than FS ?

Thanks


On Wed, Apr 6, 2011 at 3:31 PM, Jonathan Rochkind <rochk...@jhu.edu> wrote:

> 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<ezech...@gmail.com>:
>>
>>> Another question that maybe is easier to answer, how can i store binary
>>> data? Any example schema?
>>>
>>> 2011/4/6 Ezequiel Calderara<ezech...@gmail.com>
>>>
>>>  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
>>>
>>>


-- 
______
Ezequiel.

Http://www.ironicnet.com

Reply via email to