Fanis Tharropoulos

Results 110 comments of Fanis Tharropoulos

Could you post a reproducible example similar to [this](https://gist.github.com/jasonbosco/7c3432713216c378472f13e72246f46b) one?

The reproduction script doesn't work. You define casting being a string and pass in a string array. You also use infix search where there's no field that has infix set...

From the issue description, you mention casting not using prefix, but you've set `infix` to `always`. Meaning that if, at any character in any token of a casting field, there's...

Try removing `infix` from the parameter list. Leaving it in will return documents that match the `S` character anywhere in the document.

There's no built-in way to do this. What you can do is execute a multi search request with each one containing a single `query_by` field each, and based on client...

`query_by_weights` only applies when searching with multiple fields. What you're describing can't be achieved when searching with multiple fields in a single query, so `query_by_weights` isn't applicable here. It has...

How so? If your goal is to only have results for the secondary field if the name field has no matches, then that's not possible. I outlined a way to...

Thank you for providing a sample code fix alongside the reproduction steps. If you want, you can open up a PR alongside this issue. CC: @happy-san

Hey, how were the documents indexed? Was the attributes array passed in as an empty array, omitted entirely on indexing or passed in as `null` explicitly?