Home  >  Q&A  >  body text

java - 【求助】!Sorl检索如何创建多索引目录?

PHP中文网PHP中文网2765 days ago566

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 13:42:12

    Solr management background cannot choose the default one collection1

    1. You find a solr_home in your collection1 which is your current search directory
    2. Copy it directly and rename it collection2
    3. Then modify collection2/core.properties
    4. changed to name=collection2
    5. Then open the Solr management background and you can see collection1 and collection2
    6. Just select the corresponding collection when operating the Solrj code

    Remember to clear the data in collection2 (because it is a copy, it contains the data of collection1. If collection1 is empty, ignore this step)

    reply
    0
  • Cancelreply