One of our customers, for whom we did custom development is facing this weird issue. though we are still only in pre-uat, we see this to be not conforming to any known Lucene behavior.
We are using Hibernate Search 5.5.2, Apache Lucene 5.3.x; we are using filesystem for the index. We are running this inside a Weblogic 12c container, with oracle 12c as the database.
We have two different virtual machines that host two different Weblogic 12c instances (thereby the application) that point to the same database (thereby the same data); at the start of the application, we index the data on the filesystem on each of the nodes. But for the same query, it yields different results on each of the nodes!
Has anybody faced a similar issue? Is the indexing mechanism in any way tied to the hardware or a specific machine? I just cannot fathom the reason for this behavior.
Also, the next question is that if there are non-replicated (no form of replication) clustered nodes (weblogic 12c) - is it OK to index on each of the nodes separately,the same data? Or is it necessary that we use master-slave replication? I do not need the answer from a maintainability point of view, but rather from the view of correctness of results?
See the original question on the official hibernate search forum at: https://forum.hibernate.org/viewtopic.php?f=9&t=1043314