Open alexmm11 opened 5 years ago
Hi @alexmm11
i think they cannot work as today. the searchClass takes a string and it does not apply parameters.
So this one will be the query passed to lucene "+name: :val1 * +description: :val2"
Let me check if we can find a way
Thanks
Probably for now the best way is to do
`SELECT FROM City WHERE SEARCH_CLASS(:query) = true`
and use only 1 param query with +name:${val1}* +description:${val2}
the lucene query content
Hi, the lucene fulltext docs explains how to query a field using search_class in the form:
For instance:
So i'm wondering if is possible do the query using ":" to include the string parameter value in the params object of the query, just like:
Instead of using something like:
I tried like this :point_down: ... but didn't work :open_mouth: :disappointed: