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

Add @Score annotation marking a property as readonly and automatically add projection on score when present.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4 RC1 (Fowler)
    • Component/s: Core
    • Labels:
      None

      Description

      @ReadOnlyProperty
      @Documented
      @Retention(RetentionPolicy.RUNTIME)
      @Target(ElementType.FIELD)
      public @interface Score { }
      
      class SomeDocument {
        @Id String id;
        @Score Float score;
      }
      

        Attachments

          Activity

            People

            Assignee:
            francisco.spaeth Francisco Spaeth
            Reporter:
            cstrobl Christoph Strobl
            Last updater:
            Oliver Drotbohm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: