What's the best approach for using SOLR with web projects?

后端 未结 2 678
野的像风
野的像风 2021-02-06 12:58

ok, I\'m totally new to SOLR and Lucene, but have got Solr running out-of-the-box under Tomcat 6.x and have just gone over some of the basic Wiki entries.

I have a few q

2条回答
  •  孤城傲影
    2021-02-06 13:23

    I think Mauricio is dead on for his advice. The only point I would make is that when deciding to have a "middleware" indexer, or use the database directly. If your database (or the views?) map very closely to what a good Solr schema wants, then DIH is great. But, if you are indexing from multiple sources of data, or if you have to munge about the data in your database to meet what Solr would like, then having a dedicated middleware indexer is better.

提交回复
热议问题