On Oct 29, 2010, at 6:00 PM, Ron Mayer wrote:

> I have some documents with a bunch of attachments (images, thumbnails
> for them, audio clips, word docs, etc); and am currently dealing with
> them by just putting a path on a filesystem to them in solr; and then
> jumping through hoops of keeping them in sync with solr.
> 
> Would it be nuts to stick the image data itself in solr?
> 
> More specifically - if I have a bunch of large stored fields,
> would it significantly impact search performance in the
> cases when those fields aren't fetched.

Make sure you have lazy field loading on.

> 
> Searches are very common in this system, and it's very rare
> that someone actually opens up one of these attachments
> so I'm not really worried about the time it takes to fetch
> them when someone does actually want one.
> 


You would be adding some overhead to the system in that Solr now has to manage 
these files as stored fields.  I guess I would do some benchmarking to see.


--------------------------
Grant Ingersoll
http://www.lucidimagination.com

Reply via email to