# How to create the solr index from the data getting from two

**URL:** <https://www.ruby-forum.com/t/how-to-create-the-solr-index-from-the-data-getting-from-two/126924>\
**Category:** Rails\
**Created:** [January 23, 2008, 2:27pm UTC](https://www.ruby-forum.com/t/how-to-create-the-solr-index-from-the-data-getting-from-two/126924 "2008-01-23T14:27:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@nad](https://www.ruby-forum.com/u/nad)\
**Post date:** [January 23, 2008, 2:27pm UTC](https://www.ruby-forum.com/t/how-to-create-the-solr-index-from-the-data-getting-from-two/126924/1 "2008-01-23T14:27:00Z")

</div>

Hi All,

I need to create the solr index from the data getting from two tables  
in the database. doe any one know who to archive this. Bz still i only  
found that we can do ht e solr index only from one table. so any body  
know about this pls help.

Thanks  
Nadeesha

---

<div class="post-metadata">

**Author:** ![nad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@nad](https://www.ruby-forum.com/u/nad)\
**Post date:** [January 23, 2008, 4:52pm UTC](https://www.ruby-forum.com/t/how-to-create-the-solr-index-from-the-data-getting-from-two/126924/2 "2008-01-23T16:52:14Z")

</div>

From the docs, Book.multi\_solr\_search “Napoleon OR Tom”, :models =\>  
[Movie]

On Jan 23, 5:27 am, Nadeesha M. \<rails-mailing-l…@andreas-
