Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-3424

Clean up the showcases to turn it into a full-stack ORM integration test suite


    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.Alpha3
    • Component/s: documentation, tests
    • Labels:


      The showcases should have two purposes:

      1. Demonstrate uses of Hibernate Search in clear, concrete use cases.
      2. Test Hibernate Search without any mock.

      They should not, however, focus on details such as the multiple syntaxes of the Search DSL . Let's allow ourselves some opinionated choices here.

      To do:

      • Clarify the description of the showcase in the README and in the POM to reflect the statements above.
      • Remove the multiple syntaxes for the Search DSL and the mapping: pick one (the lambda-based one) and stick to it.
      • Make sure all DAO methods could at least remotely make sense in a real-world environment.
      • Add methods to the DAO (and matching tests) for all major use cases. Projections in particular are missing, and maybe sorts, too?
      • Maybe use a real-world, lightweight framework, so that the DAOs do not seem as ridiculous? Emphasis on lightweight. I do not want to have to debug a huge framework when tests fail.
      • Reference the showcase from the documentation. At the very least a link to the source code on Github.
      • If possible without making it too complex, make it possible to run the integration test with both the Elasticsearch and Lucene backends.




            • Assignee:
              fercoli Fabio Massimo Ercoli
              yrodiere Yoann Rodière
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: