Skip to content

Allow use of filter with ids in external search#146

Merged
cigolpl merged 1 commit intoitemsapi:masterfrom
powergo:allow-filter-with-ids
Nov 20, 2025
Merged

Allow use of filter with ids in external search#146
cigolpl merged 1 commit intoitemsapi:masterfrom
powergo:allow-filter-with-ids

Conversation

@julievalet
Copy link
Copy Markdown
Contributor

@julievalet julievalet commented Nov 19, 2025

Hello there,

I was implementing the external full text search with Lunr and noticed it wasn't possible to use the filter option.
I am using the filter option to make range searches like prices and would need it added to the text search.

Here is my proposed improvement to be able to use the external text search in addition to any search function in the filter option.
I added a test to illustrate the use case.

Thank you for your consideration.

@cigolpl cigolpl merged commit 59c1ec7 into itemsapi:master Nov 20, 2025
1 check passed
@cigolpl
Copy link
Copy Markdown
Member

cigolpl commented Nov 20, 2025

Hey, thanks. You can update now itemsjs from npmjs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants