Alternate solution for And Operator. #2038
Unanswered
atindersingh67
asked this question in
Q&A
Replies: 1 comment
-
@atindersingh67 This looks like something you can control with fieldWeights. Assign a higher weight to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using Data Search in my react app.
<DataSearch componentId="result" dataField = {[ "categoryname", "description" ] fieldWeights = { [5, 5] } fuzziness = {"AUTO"} autosuggest={true} queryFormat="and" URLParams={true} />
When user is trying to search for something , for eg. 'Digital Custom Art', Its not return any result, Because in DB there is no product with all three keyword.
But there are products that have 'Custom Art' in their description. Is there any way those can be picked?
I tried using
queryFormat="or"
But with this its first showing products having 'Custom' in the description then products with 'Art'.Is there any way i can get my desired result.
Beta Was this translation helpful? Give feedback.
All reactions