azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

Azure AI Search Sample Issues

Open faynef opened this issue 1 year ago • 4 comments

Section link: image

Reason: Skillset 'hotels-sample-skillset' contains a skill of type 'Microsoft.Skills.Text.EntityRecognitionSkill' which is not supported in this API version.

Suggestion: Update to EntityRecognitionSkill(inputs, outputs, EntityRecognitionSkillVersion.V3)

Section link1, link2: image

Reason: Parameter error.

Suggestion: Update to synonymmap.

Section link: image

Reason: The request is invalid. Details: index : Found 0 key fields in index 'index'. Each index must have exactly one key field.

Suggestion: Add SimpleField or SearchableField annotations to the Hotel class

    @JsonProperty(value = "HotelId")
    @SimpleField(isKey = true)
     public String getHotelId() {
         return this.hotelId;
     }  

@sandeep-sen , @joshfree , @hector-norza and @alzimmermsft for notification.

faynef avatar Feb 23 '24 07:02 faynef

I'll address this.

jairmyree avatar Feb 26 '24 20:02 jairmyree

I'll address this.

@jairmyree Regarding the progress of fixing this issue, what's the current status?

v-xuto avatar May 24 '24 06:05 v-xuto

@v-xuto My apologies, this got backlogged in favor of other work items. Since it's been open since Feb I'll bubble this and take care of it now. It shouldn't be much of a PR.

jairmyree avatar May 24 '24 21:05 jairmyree

@jairmyree Your PR#34608 does not fix the link2 part in issue2. I have created a PR https://github.com/Azure/azure-sdk-for-java/pull/40355 to fix this issue. Can you please review and approve it?

image

Menghua1 avatar Jul 01 '24 05:07 Menghua1

This issue has been fixed.

v-xuto avatar Jul 09 '24 02:07 v-xuto