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

Declared repository method does not work [DATASOLR-369] #492

spring-projects-issues opened this issue Mar 13, 2017 · 0 comments

Declared repository method does not work [DATASOLR-369] #492

spring-projects-issues opened this issue Mar 13, 2017 · 0 comments


Copy link

@spring-projects-issues spring-projects-issues commented Mar 13, 2017

constantin mitocaru opened DATASOLR-369 and commented

I have this repository:

public interface UserRepository extends UserRepositoryCustom, SolrCrudRepository<User, String> {

	User findOneByUsername( String username );

	List<User> findByUsernameIn( List<String> usernames );


While the first method works correctly the second produces a solr error like below.

Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr: Expected mime type application/octet-stream
t text/html. <html>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /solr/select. Reason:
<pre>    Not Found</pre></p>

It is as if the second called the solr server without core name!

Affects: 2.1.1 (Ingalls SR1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants