Skip to content

Commit

Permalink
Update search_item.js
Browse files Browse the repository at this point in the history
  • Loading branch information
serefyarar committed Jul 20, 2024
1 parent 651e993 commit aa05d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/language/search_item.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export const searchItems = async (params) => {
query = query.orderByRaw("?? <=> ?", ["vector", pgvector.toSql(vector)]);
}

const documents = await query.limit(10);
const documents = await query.limit(30);
return documents;
};

0 comments on commit aa05d72

Please sign in to comment.