RE: add thumnail image for search result

2011-10-19 Thread Jaeger, Jay - DOT
It won't do it for you automatically.  I suppose you might create the thumbnail 
image beforehand, Base64 encode it, and add it as a stored, non-indexed, binary 
field (see schema: solr.BinaryField) when you index the document.

JRJ

-Original Message-
From: hadi [mailto:md.anb...@gmail.com] 
Sent: Wednesday, October 19, 2011 12:54 AM
To: solr-user@lucene.apache.org
Subject: add thumnail image for search result

I want to know how can i add thumbnail image for my files when i am indexing
files with solrj?
thanks


--
View this message in context: 
http://lucene.472066.n3.nabble.com/add-thumnail-image-for-search-result-tp3433440p3433440.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: add thumnail image for search result

2011-10-19 Thread Paul Libbrecht
Hadi,

I do not think solr or solrj does this.
are your document HTML documents? I would look in the crawler resources but I 
note that rendering is a rather server-unfriendly task and it bears some 
security risk if the documents are not fully trusted.

In i2geo.net, we finally gave up on automated rendering, we allowed the users 
to upload a snapshot; this gives thumbnails that focus on the relevant things 
instead of a global picture of the initial situation (which, with learning 
resources, is often close to a blank page).

paul


Le 19 oct. 2011 à 07:53, hadi a écrit :

> I want to know how can i add thumbnail image for my files when i am indexing
> files with solrj?
> thanks
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/add-thumnail-image-for-search-result-tp3433440p3433440.html
> Sent from the Solr - User mailing list archive at Nabble.com.



add thumnail image for search result

2011-10-18 Thread hadi
I want to know how can i add thumbnail image for my files when i am indexing
files with solrj?
thanks


--
View this message in context: 
http://lucene.472066.n3.nabble.com/add-thumnail-image-for-search-result-tp3433440p3433440.html
Sent from the Solr - User mailing list archive at Nabble.com.