Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by Michel Benevento:
http://wiki.apache.org/solr/solr-ruby/BrainStorming

------------------------------------------------------------------------------
  Consider {{{Book.search_by_title("zen")}}}.  Perhaps what is returned is not 
just the top 25 books as an array, but rather something more clever that allows 
paging (by hitting Solr for more data when needed)?
  
  == Support for rich documents ==
- Attached is 
[http://wiki.apache.org/solr-data/attachments/solr(2d)ruby(2f)BrainStorming/attachments/Solr%20rich%20document%20support
 rich.rb] with a Module that allows solr-ruby to upload 
[http://wiki.apache.org/solr/UpdateRichDocuments rich documents]. Install and 
usage instructions are in the file.
+ Attached is 
[http://wiki.apache.org/solr-data/attachments/solr(2d)ruby(2f)BrainStorming/attachments/rich.rb%200.1.2%20-%20Support%20for%20Rich%20Documents
 rich.rb] with a Module that allows solr-ruby to upload 
[http://wiki.apache.org/solr/UpdateRichDocuments rich documents]. Install and 
usage instructions are in the file.
  
+ {{{
+     c = Solr::Rich::Connection.new
+     c.add(:id => 123, :title => 'Lorem Ipsum', :content => 
'/tmp/files/myfile.pdf')
+     c.add({:id => 123, :title => 'Lorem Ipsum', :content => 
'/tmp/files/myfile.pdf'}, :get)
+ }}}
+ 
+ Warning: This has hardly been tested, proceed with caution.
+ 

Reply via email to