Rohan Bin Khokon
08/25/2025, 1:43 PMself.typesense_client.collections[self.default_collection_name].documents.search({
'q': '*',
'filter_by': 'url_without_anchor:=`' + url +'`'
})
There is the schema:
{
"name": "url_without_anchor",
"type": "string",
"facet": true,
"index": true,
"store": true
}
Problem is when I am searching for url: /en/products/transducers/inertial-sensors/inertial-measurement-units--imu-/3dm-cv5-imu
It returns
/en/products/transducers/inertial-sensors/inertial-measurement-units--imu-/3dm-cv5-imu/p-xxx
/en/products/transducers/inertial-sensors/inertial-measurement-units--imu-/3dm-cv5-imu/p-yyy
etc.
But search is working fine for following urls
⢠/en/products/transducers/force/c10
⢠/en/products/instruments/sound-vibration-daq/microphone--calibration/9721-b
For those it returns exact matching document, not /en/products/transducers/force/c10/p-....
Please help to to identity the problem, or better way to query.
If you required more information about my setup let me know.
Thanks in AdvanceJason Bosco
08/26/2025, 2:17 AM"token_separators": ["/", ".", "-"]
in the collection schema?Rohan Bin Khokon
08/26/2025, 7:41 AMJason Bosco
08/26/2025, 2:35 PMRohan Bin Khokon
08/29/2025, 8:24 AMRohan Bin Khokon
08/29/2025, 8:31 AMFanis Tharropoulos
08/29/2025, 8:35 AMRohan Bin Khokon
08/29/2025, 9:08 AMRohan Bin Khokon
08/29/2025, 9:08 AMFanis Tharropoulos
09/01/2025, 9:30 AMFanis Tharropoulos
09/01/2025, 10:02 AM:
to symbols_to_index
. That's what's causing the issue.Rohan Bin Khokon
09/01/2025, 10:58 AMRohan Bin Khokon
09/03/2025, 8:53 AMFanis Tharropoulos
09/04/2025, 11:29 AMRohan Bin Khokon
09/04/2025, 1:20 PMFanis Tharropoulos
09/04/2025, 2:38 PMRohan Bin Khokon
09/08/2025, 7:19 AMFanis Tharropoulos
09/08/2025, 7:21 AM:
to your collection's symbols_to_index
parameter fixed the issue. There may be other factors to your current setup that affect thisRohan Bin Khokon
09/08/2025, 10:58 AMFanis Tharropoulos
09/09/2025, 10:51 AMRohan Bin Khokon
09/09/2025, 1:39 PMRohan Bin Khokon
09/12/2025, 9:25 AMFanis Tharropoulos
09/15/2025, 8:50 AM