Comments (3)
For now, yes, I'm thinking of adding a top level annotation that will bring everything in. Also, not currently supporting nested repos, or haven't tested them yet.
from redis-om-spring.
@bsbodden sorry, please ignore able issue. I was declaring those annotations on a config class micro.apps.service.config.RedisConfig
which was not in beans search path.
package micro.apps.service.config
@Configuration
@OptIn(ExperimentalSerializationApi::class)
@EnableRedisEnhancedRepositories(basePackages = ["micro.apps.service"])
@EnableRedisDocumentRepositories(basePackages = ["micro.apps.service"] )
class RedisConfig {
}
from redis-om-spring.
when using both, FT.CREATE is not generated.
@EnableRedisEnhancedRepositories(basePackages = ["micro.apps.service"])
@EnableRedisDocumentRepositories(basePackages = ["micro.apps.service"] )
redis-cli MONITOR
1640034681.535782 [0 10.4.1.1:43064] "info"
1640034691.534995 [0 10.4.1.1:43064] "info"
1640034693.411048 [0 10.4.1.1:43720] "SISMEMBER" "micro.apps.service.User" "01FQCYZBQCYYVA1YZRZE08Y44H"
1640034693.460660 [0 10.4.1.1:43720] "DEL" "micro.apps.service.User:01FQCYZBQCYYVA1YZRZE08Y44H"
1640034693.473682 [0 10.4.1.1:43720] "HMSET" "micro.apps.service.User:01FQCYZBQCYYVA1YZRZE08Y44H" "_class" "micro.apps.service.User" "email" "[email protected]" "firstName" "Zack" "lastName" "de la Rocha"
1640034693.477611 [0 10.4.1.1:43720] "SADD" "micro.apps.service.User" "01FQCYZBQCYYVA1YZRZE08Y44H"
1640034693.481929 [0 10.4.1.1:43720] "SISMEMBER" "micro.apps.service.User" "01FQCYZBVNW2T1RQZW2F95RPGS"
1640034693.486055 [0 10.4.1.1:43720] "DEL" "micro.apps.service.User:01FQCYZBVNW2T1RQZW2F95RPGS"
1640034693.487824 [0 10.4.1.1:43720] "HMSET" "micro.apps.service.User:01FQCYZBVNW2T1RQZW2F95RPGS" "_class" "micro.apps.service.User" "email" "[email protected]" "firstName" "Tim" "lastName" "Commerford"
1640034693.490198 [0 10.4.1.1:43720] "SADD" "micro.apps.service.User" "01FQCYZBVNW2T1RQZW2F95RPGS"
1640034693.492835 [0 10.4.1.1:43720] "SISMEMBER" "micro.apps.service.User" "01FQCYZBW1HRF7MHJHE4SKHMRV"
1640034693.495793 [0 10.4.1.1:43720] "DEL" "micro.apps.service.User:01FQCYZBW1HRF7MHJHE4SKHMRV"
1640034693.497641 [0 10.4.1.1:43720] "HMSET" "micro.apps.service.User:01FQCYZBW1HRF7MHJHE4SKHMRV" "_class" "micro.apps.service.User" "email" "[email protected]" "firstName" "Tom" "lastName" "Morello"
1640034693.499424 [0 10.4.1.1:43720] "SADD" "micro.apps.service.User" "01FQCYZBW1HRF7MHJHE4SKHMRV"
1640034693.501730 [0 10.4.1.1:43720] "SISMEMBER" "micro.apps.service.User" "01FQCYZBWAJTC5V1DWR12M1NKQ"
1640034693.503831 [0 10.4.1.1:43720] "DEL" "micro.apps.service.User:01FQCYZBWAJTC5V1DWR12M1NKQ"
1640034693.505287 [0 10.4.1.1:43720] "HMSET" "micro.apps.service.User:01FQCYZBWAJTC5V1DWR12M1NKQ" "_class" "micro.apps.service.User" "email" "[email protected]" "firstName" "Brad" "lastName" "Wilk"
1640034693.506884 [0 10.4.1.1:43720] "SADD" "micro.apps.service.User" "01FQCYZBWAJTC5V1DWR12M1NKQ"
1640034693.524961 [0 10.4.1.1:43720] "BF.ADD" "bf_user_email" "[email protected]"
1640034693.527194 [0 10.4.1.1:43720] "BF.ADD" "bf_user_email" "[email protected]"
1640034693.530466 [0 10.4.1.1:43720] "BF.ADD" "bf_user_email" "[email protected]"
1640034693.533024 [0 10.4.1.1:43720] "BF.ADD" "bf_user_email" "[email protected]"
1640034696.533413 [0 10.4.1.1:43064] "info"
1640034701.531380 [0 10.4.1.1:43064] "info"
1640034706.531547 [0 10.4.1.1:43064] "info"
1640034711.530705 [0 10.4.1.1:43064] "info"
1640034716.536650 [0 10.4.1.1:43064] "info"
1640034721.532260 [0 10.4.1.1:43064] "info"
1640034721.582045 [0 10.4.1.1:43720] "PING"
1640034726.532499 [0 10.4.1.1:43064] "info"
1640034731.530890 [0 10.4.1.1:43064] "info"
1640034736.532159 [0 10.4.1.1:43064] "info"
1640034741.533969 [0 10.4.1.1:43064] "info"
1640034746.536269 [0 10.4.1.1:43064] "info"
1640034751.532106 [0 10.4.1.1:43064] "info"
1640034751.585298 [0 10.4.1.1:43720] "PING"
1640034756.532738 [0 10.4.1.1:43064] "info"
1640034763.084118 [0 10.4.1.1:43720] "FT.SEARCH" "UserIdx" "@lastName:Wilk "
1640034766.534722 [0 10.4.1.1:43064] "info"
1640034771.534783 [0 10.4.1.1:43064] "info"
when using only @EnableRedisEnhancedRepositories(basePackages = ["micro.apps.service"])
FT.CREATE is generated properly.
redis-cli MONITOR
1639002641.464890 [0 172.18.0.1:64234] "FT.CREATE" "UserIdx" "ON" "HASH" "PREFIX" "1" "com.redis.om.hashes.domain.User:" "SCHEMA" "firstName" "AS" "firstName" "TAG" "middleName" "AS" "middleName" "TAG" "lastName" "AS" "lastName" "TAG" "email" "AS" "email" "TAG"
1639002641.468737 [0 172.18.0.1:64234] "FT.CREATE" "RoleIdx" "ON" "HASH" "PREFIX" "1" "com.redis.om.hashes.domain.Role:" "SCHEMA" "roleName" "AS" "roleName" "TAG"
1639002641.478826 [0 172.18.0.1:64234] "BF.RESERVE" "bf_user_email" "0.001" "100000"
1639002641.522203 [0 172.18.0.1:64234] "SISMEMBER" "com.redis.om.hashes.domain.User" "01FPE2Q52R5AB6AJ90TJZRX59K"
1639002641.535060 [0 172.18.0.1:64234] "DEL" "com.redis.om.hashes.domain.User:01FPE2Q52R5AB6AJ90TJZRX59K"
1639002641.539276 [0 172.18.0.1:64234] "HMSET" "com.redis.om.hashes.domain.User:01FPE2Q52R5AB6AJ90TJZRX59K" "_class" "com.redis.om.hashes.domain.User" "email" "[email protected]" "firstName" "Zack" "id" "01FPE2Q52R5AB6AJ90TJZRX59K" "lastName" "de la Rocha"
1639002641.541930 [0 172.18.0.1:64234] "SADD" "com.redis.om.hashes.domain.User" "01FPE2Q52R5AB6AJ90TJZRX59K"
1639002641.544936 [0 172.18.0.1:64234] "SISMEMBER" "com.redis.om.hashes.domain.User" "01FPE2Q547VD1WADJRH01MCK78"
1639002641.548671 [0 172.18.0.1:64234] "DEL" "com.redis.om.hashes.domain.User:01FPE2Q547VD1WADJRH01MCK78"
1639002641.551090 [0 172.18.0.1:64234] "HMSET" "com.redis.om.hashes.domain.User:01FPE2Q547VD1WADJRH01MCK78" "_class" "com.redis.om.hashes.domain.User" "email" "[email protected]" "firstName" "Tim" "id" "01FPE2Q547VD1WADJRH01MCK78" "lastName" "Commerford"
1639002641.553497 [0 172.18.0.1:64234] "SADD" "com.redis.om.hashes.domain.User" "01FPE2Q547VD1WADJRH01MCK78"
1639002641.555741 [0 172.18.0.1:64234] "SISMEMBER" "com.redis.om.hashes.domain.User" "01FPE2Q54J56YTTKHBMXV23VHA"
1639002641.557856 [0 172.18.0.1:64234] "DEL" "com.redis.om.hashes.domain.User:01FPE2Q54J56YTTKHBMXV23VHA"
1639002641.560215 [0 172.18.0.1:64234] "HMSET" "com.redis.om.hashes.domain.User:01FPE2Q54J56YTTKHBMXV23VHA" "_class" "com.redis.om.hashes.domain.User" "email" "[email protected]" "firstName" "Tom" "id" "01FPE2Q54J56YTTKHBMXV23VHA" "lastName" "Morello"
1639002641.562307 [0 172.18.0.1:64234] "SADD" "com.redis.om.hashes.domain.User" "01FPE2Q54J56YTTKHBMXV23VHA"
1639002641.564413 [0 172.18.0.1:64234] "SISMEMBER" "com.redis.om.hashes.domain.User" "01FPE2Q54WK6KR3ZXWR3PK6NBP"
1639002641.566844 [0 172.18.0.1:64234] "DEL" "com.redis.om.hashes.domain.User:01FPE2Q54WK6KR3ZXWR3PK6NBP"
1639002641.568805 [0 172.18.0.1:64234] "HMSET" "com.redis.om.hashes.domain.User:01FPE2Q54WK6KR3ZXWR3PK6NBP" "_class" "com.redis.om.hashes.domain.User" "email" "[email protected]" "firstName" "Brad" "id" "01FPE2Q54WK6KR3ZXWR3PK6NBP" "lastName" "Wilk"
1639002641.570899 [0 172.18.0.1:64234] "SADD" "com.redis.om.hashes.domain.User" "01FPE2Q54WK6KR3ZXWR3PK6NBP"
1639002641.575167 [0 172.18.0.1:64234] "BF.ADD" "bf_user_email" "[email protected]"
1639002641.577319 [0 172.18.0.1:64234] "BF.ADD" "bf_user_email" "[email protected]"
1639002641.579476 [0 172.18.0.1:64234] "BF.ADD" "bf_user_email" "[email protected]"
1639002641.581328 [0 172.18.0.1:64234] "BF.ADD" "bf_user_email" "[email protected]"
1639002670.812893 [0 172.18.0.1:64234] "PING"
from redis-om-spring.
Related Issues (20)
- Fastest way to read 1 million records from Redis using redis-om library HOT 2
- Add exist/notExist predicated for EntityStream's Aggregations
- Client Side Caching support via Jedis
- Query generation with InPredicate HOT 3
- Support for Lettuce Redis Client HOT 1
- The SearchOperations<String>.search() interface does not set the returnFields attribute; why does the result set not include any field data? HOT 2
- Negative @TimeToLive value in @Document entity executes redis EXPIRE command
- Vector Search example using redis-om-spring HOT 5
- Handle search aliased fields with special characters HOT 6
- Skip index creation and use existing index HOT 20
- SORTBY clause property not escaped in finder queries HOT 3
- QueryByExample<T> with RedisEnhancedRepository<T, ID> HOT 4
- Support for java.time.YearMonth Gson (TypeAdapter) HOT 2
- Using Llama3 embedding model in roms-vss example HOT 5
- Transactions in RedisOM? HOT 2
- Paginated results for QBE HOT 1
- Pagination not working with search HOT 2
- Escape inputs in QBE objects HOT 1
- escaping null value fields throws exception when calling QueryUtils.escape()
- Ability to modify/filter the ID portion of the Key (Redis Cluster Hashtags)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis-om-spring.