Multiple Indexes in same Solr Core..?

后端 未结 2 1290
傲寒
傲寒 2021-01-06 11:33

I am using Apache Solr..I have the following Scenario.. :

I have Two table in my PostGreSQL database. One is \"Cars\". Other is \"D

2条回答
  •  有刺的猬
    2021-01-06 12:18

    Adding a default value to the type field will ensure the type value being set to cars|dealer.

    You will have to index the sources separately. Then use copy field and you can easily filter on either cars|dealer.

    This does seem a bit tricky and is not explained well in the muti-indexes link referred to above.

提交回复
热议问题