Uploaded image for project: 'Spring Data for Apache Solr'
  1. Spring Data for Apache Solr
  2. DATASOLR-21

findOne uses Java fieldname instead of @Field value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:
      None
    • Environment:
      Spring 3.1.2

      Description

      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

          Activity

            People

            • Assignee:
              cstrobl Christoph Strobl
              Reporter:
              thweiss Thomas Weiß
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: