beckn / strapi-plugins

0 stars 1 forks source link

Keyword based search #78

Closed vishi24 closed 3 months ago

vishi24 commented 3 months ago

Description

The current Strapi plugin does not support keyword based search. Implement the keyword-based search , it should work as below

keywords - (contains based search on multiple columns)

Example- intent.Item.descriptor.code = “ticket“ intent.Item.descriptor.name = “yellow stone“ key word based search should do a contains based search on multiple columns name - current strapi implementation does only name search short_desc - need to implement long_desc - need to implement

Note-

Goals

Expected Outcome

Strapi should support keyword based search.

Acceptance Criteria

shreyvishal commented 3 months ago

Current Status: Done with the development, Raised PR for the same PR Link: Link Description of work done: Added Conditional based logical OR Query creation, where is item.description.name is there then, strapi plugin will search for that name value in, 3 columns(name, long_desc, short_desc) irrespective of whether the data are provided to these specific fields.

cc: @mayurvir @faizmagic @em-abee