Skip to content

Commit

Permalink
Search May 2024 Preview Regen (#39872)
Browse files Browse the repository at this point in the history
* Search May Preview Regeneration
- Still need to add varargs convenience

* Removing ovveride statements from `setFields` for `VectorizableImageUrlQuery` and `VectorizableImageBinaryQuery`

* Removing ovveride statements from `setFields` for `VectorizableImageUrlQuery` and `VectorizableImageBinaryQuery`

* adding varargs

* Additional adjustments to FieldBuilder and Search Index Customizations

* Updating cspell.json

* Adjust `SearchScoreThreshold` customization
Re-enable code generation in CI

* Updates:

- Updated Cspell
- Rename `maxStoragePerIndex` property to `maxStoragePerIndexInBytes` in SearchServiceLimits
- Set `hybridSearch` property to be type `HybridSearch` in SearchRequest
- Add `hybridSearch` to SearchOptions and `SearchAsyncClient.createSearchRequest()`
  • Loading branch information
jairmyree committed May 1, 2024
1 parent b36fb68 commit a41a0f1
Show file tree
Hide file tree
Showing 43 changed files with 2,675 additions and 340 deletions.
7 changes: 6 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,12 @@
"mylocation",
"myloc",
"dari",
"hitel"
"hitel",
"AISERVICES",
"AICLIP",
"TLARGE",
"TBASE",
"TGIANT"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,8 @@ static SearchRequest createSearchRequest(String searchText, SearchOptions option
.setVectorQueries(vectorSearchOptions.getQueries());
}

request.setHybridSearch(options.getHybridSearch());

return request;
}

Expand Down

0 comments on commit a41a0f1

Please sign in to comment.