Pankaj Adhyapak
05/06/2023, 8:38 AM{
"invoice_number": "inv123456",
"company_name": "company name",
}
for query inv
, I get expected result
<mark>inv</mark>123456
but for the query inv company
, I get a match only for the company name, expected is to match both fields
am I missing something here?
2. We are doing multi search on 4 collections, whats the best to sort results for a combined array ? is text_match
is enough for this?
Thank you 🙂Pankaj Adhyapak
05/08/2023, 5:48 AMKishore Nallan
05/08/2023, 5:49 AMinv
is the first word in the query inv company
it won't match inv123456
Kishore Nallan
05/08/2023, 5:49 AMPankaj Adhyapak
05/08/2023, 6:11 AMTypesense does prefix search only for the last word in the query. Since@Kishore Nallan is there a way/option to change this behaviour and make it match both fields ?is the first word in the queryinv
it won't matchinv company
inv123456
Kishore Nallan
05/08/2023, 6:12 AMJainil Sutaria
05/08/2023, 2:10 PMfilter_by=invoice_number:inv
instead of putting inv
in the search query?Kishore Nallan
05/08/2023, 2:11 PMJason Bosco
05/08/2023, 6:00 PM