Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring Data Meilisearch does not support multi-store setups #131

Open
RobertEyler opened this issue Sep 26, 2024 · 0 comments
Open

Spring Data Meilisearch does not support multi-store setups #131

RobertEyler opened this issue Sep 26, 2024 · 0 comments
Labels
status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement

Comments

@RobertEyler
Copy link

Description

I have to sync data to meilisearch, so I create two Repositories.

// the first repository
public interface VideoRepo extends MongoRepository<Video, String>{}
// the second repository
public interface VideoMeiliRepo extends CrudRepository<Video,String> {}

The main class

@EnableMeilisearchRepositories(basePackages = "the.packages.of.meiliRepo")
@EnableMongoRepositories(basePackages = "the.packages.of.repo")
@SpringBootApplication
public class RunApplication {
   SpringApplication.run(SvideoApplication.class, args);
}

And I find in debug log.

2024-09-26T23:02:00.260+08:00 DEBUG 21164 --- [svideo] [  restartedMain] o.s.d.r.c.RepositoryComponentProvider    : Identified candidate component class: file [C:\Users\xxx\JavaProjects\aa\target\classes\com\example\aa\meiliRepo\VideoMeiliRepo.class]
2024-09-26T23:02:00.266+08:00  WARN 21164 --- [svideo] [  restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Meilisearch does not support multi-store setups

Solution

To be honest, I don't know how to slove, But support meilisearch work with other repositores can be add , I think.

Alternatives

No response

Additional Context

No response

@RobertEyler RobertEyler added status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant