简体   繁体   中英

solr schema design for 100 over tables

I am designing the schema for my solr server. I have 2 oracle databases and 100 over tables to index for these two tables.

How should I go about indexing these tables:

  1. 1 schema with multiple entity - each entity maps to 1 table
  2. 1 solr core for each database/table

You should not be thinking about this that way at all.

Instead, you should think about what you will want to find , prototype that with a small data set and then figure out how to map your database to the search index.

You may end up indexing a very small part of the database and getting back from Solr only relevant IDs which you then use to lookup your complex structures for the actual content.

You might use multiple cores to manage multiple entities that are different enough to justify having different indexes for each.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM