Skip to content

Commit

Permalink
Change collectionName
Browse files Browse the repository at this point in the history
  • Loading branch information
milderhc committed Sep 19, 2024
1 parent 09e0388 commit 87e9e4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ private static Stream<Arguments> provideSearchParameters() {
@ParameterizedTest
@MethodSource("provideSearchParameters")
public void search(RecordCollectionOptions options, String embeddingName) {
String collectionName = "search" + options.name() + embeddingName;
String collectionName = "search";
RedisHashSetVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);

List<Hotel> hotels = getHotels();
Expand All @@ -366,7 +366,7 @@ public void search(RecordCollectionOptions options, String embeddingName) {
@ParameterizedTest
@MethodSource("provideSearchParameters")
public void searchWithVectors(RecordCollectionOptions options, String embeddingName) {
String collectionName = "searchWithVectors" + options.name() + embeddingName;
String collectionName = "search";
RedisHashSetVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);

List<Hotel> hotels = getHotels();
Expand All @@ -389,7 +389,7 @@ public void searchWithVectors(RecordCollectionOptions options, String embeddingN
@ParameterizedTest
@MethodSource("provideSearchParameters")
public void searchWithOffSet(RecordCollectionOptions options, String embeddingName) {
String collectionName = "searchWithOffSet" + options.name() + embeddingName;
String collectionName = "search";
RedisHashSetVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);

List<Hotel> hotels = getHotels();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ private static Stream<Arguments> provideSearchParameters() {
@ParameterizedTest
@MethodSource("provideSearchParameters")
public void search(RecordCollectionOptions options, String embeddingName) {
String collectionName = "search" + options.name() + embeddingName;
String collectionName = "search";
RedisJsonVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);

List<Hotel> hotels = getHotels();
Expand All @@ -369,7 +369,7 @@ public void search(RecordCollectionOptions options, String embeddingName) {
@ParameterizedTest
@MethodSource("provideSearchParameters")
public void searchWithVectors(RecordCollectionOptions options, String embeddingName) {
String collectionName = "searchWithVectors" + options.name() + embeddingName;
String collectionName = "search";
RedisJsonVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);

List<Hotel> hotels = getHotels();
Expand All @@ -392,7 +392,7 @@ public void searchWithVectors(RecordCollectionOptions options, String embeddingN
@ParameterizedTest
@MethodSource("provideSearchParameters")
public void searchWithOffSet(RecordCollectionOptions options, String embeddingName) {
String collectionName = "searchWithOffSet" + options.name() + embeddingName;
String collectionName = "search";
RedisJsonVectorStoreRecordCollection<Hotel> recordCollection = buildRecordCollection(optionsMap.get(options), collectionName);

List<Hotel> hotels = getHotels();
Expand Down

0 comments on commit 87e9e4d

Please sign in to comment.