Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snowdrop/spring-data-snowdrop
Spring Data implementation for Hibernate Search, JPA (full-text), Infinispan, GAE, ...
https://github.com/snowdrop/spring-data-snowdrop
full-text-search hibernate infinispan jpa search spring-data
Last synced: 5 days ago
JSON representation
Spring Data implementation for Hibernate Search, JPA (full-text), Infinispan, GAE, ...
- Host: GitHub
- URL: https://github.com/snowdrop/spring-data-snowdrop
- Owner: snowdrop
- License: apache-2.0
- Created: 2017-09-07T14:05:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-08T16:12:14.000Z (over 6 years ago)
- Last Synced: 2023-02-26T14:02:42.949Z (over 1 year ago)
- Topics: full-text-search, hibernate, infinispan, jpa, search, spring-data
- Language: Java
- Homepage:
- Size: 491 KB
- Stars: 5
- Watchers: 6
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Spring Data + Snowdrop**
We're following features from SpringData Common implementation
* https://docs.spring.io/spring-data/data-commons/docs/current/reference/html/Currently supported backends
* JPA (Hibernate Full-Text search)
* Infinispan Embedded
* Infinispan Remote
* Google App Engine
* Google Cloud Datastoree.g.
List findByLocationWithin(double latitude, double longitude, double distance);
List findByNameNot(String notName, Sort sort);
List findByNumberBetween(int min, int max, Sort sort);Usage:
@Test
public void testOps() {
assertSize(repository.findByLocationWithin(24.0, 31.5, 55), 1);
assertIds(repository.findByNameNot("doug", Sort.by(Sort.Direction.DESC, "hero")), 1, 2, 5, 3, 6);
assertIds(repository.findByNumberBetween(-5, 11, Sort.by("hero")), 4, 3);
}