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

findOne uses Java fieldname instead of @Field value [DATASOLR-21] #148

Closed
spring-projects-issues opened this issue Oct 10, 2012 · 1 comment
Closed

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Oct 10, 2012

Thomas Weiß opened DATASOLR-21 and commented

Calling findOne on the Controller creates the following query:

16:42:23.972 [http-bio-8080-exec-7] DEBUG o.s.data.solr.core.SolrTemplate - Executing query 'q=customerNr%3A1588&start=0&rows=1' against solr.

It should be "customer_nr" though, not "customerNr"


Attachments:

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Oct 10, 2012

Christoph Strobl commented

seems name instead of fieldName was used when retrieving the attributes name via getIdAttribute().
Thank you for pointing that out.

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

Successfully merging a pull request may close this issue.

None yet
2 participants