DEV Community

Cover image for Weedow Searchy 0.1.0 released
Nicolas Dos Santos
Nicolas Dos Santos

Posted on

Weedow Searchy 0.1.0 released

I'm happy to share with you the release 0.1.0 of Weedow Searchy.

Searchy is a Spring-based library that allows to automatically expose endpoints in order to search for data related to Entities, whatever the database used.

Searchy provides an advanced search engine that does not require the creation of Repositories with custom methods needed to search on different fields of Entities.

We can search on any field, combine multiple criteria to refine the search, and even search on nested fields.

It supports the following data access layers:

query

Examples of queries:

GET /search/person

GET /search/person?firstName=John

GET /search/person?address.zipCode=78370

GET /search/person?query=firstName='John' AND lastName='Doe'

GET /search/person?query=birthday != '1981-03-12T10:36:00'

GET /search/person?query=NOT(firstName='John' OR firstName='Jane')

GET /search/person?query=address.street IMATCHES 'RUE*' AND (vehicles.brand='Renault' OR vehicles.brand='Porsche') AND job.active = true AND (job.salary >=50000 AND job.salary<610000) AND characteristics.key = 'hair' AND vehicles.features.value.description IMATCHES '*Navigation Services*'

There is a "Getting Started" section that describes step by step the creation of an application with the library.

Searchy provides several features described in the documentation:

  • DTO Mappers
  • Validators
  • Entity joins handling
  • Converters
  • ...

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay