marklogicmarklogic-8marklogic-7

Perform search on multiple Database


Our requirement is to perform MarkLogic search capabilities on multiple MarkLogic databases. We have two version of Marklogic 7 & 8. There are two scenario for this requirement:

  1. Databases are available on one MarkLogic server.

    In this case we want to implement xdmp:eval(), xdmp:spawn(), and MarkLogic's Super-Database and Sub-Database concept. But, we are not sure which one is the prefect one.

  2. Databases are available on different MarkLogic server.

    We are not sure in this scenario, what to implement. But, we are exploring Hadoop and Flexible Replication of MarkLogic.

Please look into these scenario and share your best ideas so that we can move to correct direction.


Solution

  • As commented above, it could be worthwhile to take a step back, and discuss whether this is necessary. MarkLogic can handle mixtures of content very well. Having multiple databases will likely just overcomplicate the architecture.

    That said, from the top of my head some considerations about your questions:

    HTH!