Skip to content

Commit

Permalink
update the searchv2 endpoint name (#365)
Browse files Browse the repository at this point in the history
Co-authored-by: senchen <[email protected]>
  • Loading branch information
samlovestech and senchen authored Feb 20, 2024
1 parent 92e8808 commit 69c8dab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public Task<CollectionResult<VALUE, SearchResultMetadata>> search(@QueryParam(PA
* @param pagingContext pagination context
* @return list of all {@link VALUE} objects along with search result metadata
*/
@Finder(FINDER_SEARCH)
@Finder(FINDER_SEARCH_V2)
@Nonnull
public Task<CollectionResult<VALUE, SearchResultMetadata>> searchV2(@QueryParam(PARAM_INPUT) @Nonnull String input,
@QueryParam(PARAM_ASPECTS) @Optional @Nullable String[] aspectNames,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public final class RestliConstants {
private RestliConstants() { }

public static final String FINDER_SEARCH = "search";
public static final String FINDER_SEARCH_V2 = "searchV2";
public static final String FINDER_FILTER = "filter";
public static final String FINDER_COUNT_AGGREGATE = "countAggregate";

Expand Down

0 comments on commit 69c8dab

Please sign in to comment.