0 Replies Latest reply on Jun 6, 2011 3:12 PM by H G

    Sharing hibernate search (leucene) index between two WARs

    H G Newbie

      Hi,


      I need your help. I have two WAR applications with Seam 2.1.2 on Jboss 5.1. The both apps are using the same database (Mysql) and hibernate search on same table, so they also have same indexed entity, but since every app is packaged in war, for every entity is created a separated lucen index folder.


      app1.domain.entity.XEntity
      app2.domain.entity.XEntity


      How can I accomplish that the both app can share the same index, so when one app change index, the another app can perform search and get changes from the index?